diff options
author | madmaxoft <github@xoft.cz> | 2014-10-01 12:44:28 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-10-01 12:44:28 +0200 |
commit | 901bed39895be35ceb66352f8120b8117f44fb4e (patch) | |
tree | 99c82941c774db739b45bcf3239c86a20bdf071c /src/Root.h | |
parent | APIDump: Documented missing cIniFile function. (diff) | |
download | cuberite-901bed39895be35ceb66352f8120b8117f44fb4e.tar cuberite-901bed39895be35ceb66352f8120b8117f44fb4e.tar.gz cuberite-901bed39895be35ceb66352f8120b8117f44fb4e.tar.bz2 cuberite-901bed39895be35ceb66352f8120b8117f44fb4e.tar.lz cuberite-901bed39895be35ceb66352f8120b8117f44fb4e.tar.xz cuberite-901bed39895be35ceb66352f8120b8117f44fb4e.tar.zst cuberite-901bed39895be35ceb66352f8120b8117f44fb4e.zip |
Diffstat (limited to 'src/Root.h')
-rw-r--r-- | src/Root.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Root.h b/src/Root.h index 9a482556c..23ed81989 100644 --- a/src/Root.h +++ b/src/Root.h @@ -129,15 +129,15 @@ public: /// Sends a chat message to all connected clients (in all worlds) void BroadcastChat (const AString & a_Message, eMessageType a_ChatPrefix = mtCustom); - void BroadcastChatInfo (const AString & a_Message) { BroadcastChat(a_Message, mtInformation); } + void BroadcastChat (const cCompositeChat & a_Message); + void BroadcastChatDeath (const AString & a_Message) { BroadcastChat(a_Message, mtDeath); } void BroadcastChatFailure(const AString & a_Message) { BroadcastChat(a_Message, mtFailure); } - void BroadcastChatSuccess(const AString & a_Message) { BroadcastChat(a_Message, mtSuccess); } - void BroadcastChatWarning(const AString & a_Message) { BroadcastChat(a_Message, mtWarning); } void BroadcastChatFatal (const AString & a_Message) { BroadcastChat(a_Message, mtFailure); } + void BroadcastChatInfo (const AString & a_Message) { BroadcastChat(a_Message, mtInformation); } void BroadcastChatJoin (const AString & a_Message) { BroadcastChat(a_Message, mtJoin); } void BroadcastChatLeave (const AString & a_Message) { BroadcastChat(a_Message, mtLeave); } - void BroadcastChatDeath (const AString & a_Message) { BroadcastChat(a_Message, mtDeath); } - void BroadcastChat (const cCompositeChat & a_Message); + void BroadcastChatSuccess(const AString & a_Message) { BroadcastChat(a_Message, mtSuccess); } + void BroadcastChatWarning(const AString & a_Message) { BroadcastChat(a_Message, mtWarning); } /// Returns the textual description of the protocol version: 49 -> "1.4.4". Provided specifically for Lua API static AString GetProtocolVersionTextFromInt(int a_ProtocolVersionNum); |