Class for displaying some commonly used messages in chat log
This commit is contained in:
parent
c0288c5360
commit
c302d2dcd6
1 changed files with 33 additions and 0 deletions
33
src/js/stendhal/util/StandardMessages.ts
Normal file
33
src/js/stendhal/util/StandardMessages.ts
Normal file
|
|
@ -0,0 +1,33 @@
|
|||
/***************************************************************************
|
||||
* Copyright © 2024 - Faiumoni e. V. *
|
||||
***************************************************************************
|
||||
***************************************************************************
|
||||
* *
|
||||
* This program is free software; you can redistribute it and/or modify *
|
||||
* it under the terms of the GNU Affero General Public License as *
|
||||
* published by the Free Software Foundation; either version 3 of the *
|
||||
* License, or (at your option) any later version. *
|
||||
* *
|
||||
***************************************************************************/
|
||||
|
||||
import { Chat } from "./Chat";
|
||||
|
||||
|
||||
/**
|
||||
* Class for displaying some commonly used messages in chat log.
|
||||
*/
|
||||
export class StandardMessages {
|
||||
|
||||
/**
|
||||
* Static class.
|
||||
*/
|
||||
private constructor() {}
|
||||
|
||||
/**
|
||||
* Message when a change is made to the client that won't take effect until after player changes
|
||||
* maps or the page is reloaded.
|
||||
*/
|
||||
public static changeNeedsRefresh() {
|
||||
Chat.log("client", "Changes will take effect after changing maps or reloading page.");
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue