Class for displaying some commonly used messages in chat log

This commit is contained in:
Jordan Irwin 2024-05-27 22:32:44 -07:00
parent c0288c5360
commit c302d2dcd6
No known key found for this signature in database
GPG key ID: E3E358C2F44C290A

View 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.");
}
}