summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@hotmail.co.uk>2014-05-19 22:16:29 +0200
committerTiger Wang <ziwei.tiger@hotmail.co.uk>2014-05-19 22:16:29 +0200
commit3a9543178abb7500aff65e09f054c28200ca6cac (patch)
tree098503b8bce507fcffb87e9b4ed3e2cc44aa4d86 /src/ClientHandle.h
parentAdded client translation to achievements (diff)
downloadcuberite-3a9543178abb7500aff65e09f054c28200ca6cac.tar
cuberite-3a9543178abb7500aff65e09f054c28200ca6cac.tar.gz
cuberite-3a9543178abb7500aff65e09f054c28200ca6cac.tar.bz2
cuberite-3a9543178abb7500aff65e09f054c28200ca6cac.tar.lz
cuberite-3a9543178abb7500aff65e09f054c28200ca6cac.tar.xz
cuberite-3a9543178abb7500aff65e09f054c28200ca6cac.tar.zst
cuberite-3a9543178abb7500aff65e09f054c28200ca6cac.zip
Diffstat (limited to '')
-rw-r--r--src/ClientHandle.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ClientHandle.h b/src/ClientHandle.h
index 9f1245be5..659c67658 100644
--- a/src/ClientHandle.h
+++ b/src/ClientHandle.h
@@ -80,9 +80,9 @@ public:
static AString GenerateOfflineUUID(const AString & a_Username); // tolua_export
/** Formats the type of message with the proper color and prefix for sending to the client. **/
- AString FormatMessageType(bool ShouldAppendChatPrefixes, eMessageType a_ChatPrefix, const AString & a_AdditionalData);
+ static AString FormatMessageType(bool ShouldAppendChatPrefixes, eMessageType a_ChatPrefix, const AString & a_AdditionalData);
- AString FormatChatPrefix(bool ShouldAppendChatPrefixes, AString a_ChatPrefixS, AString m_Color1, AString m_Color2);
+ static AString FormatChatPrefix(bool ShouldAppendChatPrefixes, AString a_ChatPrefixS, AString m_Color1, AString m_Color2);
void Kick(const AString & a_Reason); // tolua_export
void Authenticate(const AString & a_Name, const AString & a_UUID); // Called by cAuthenticator when the user passes authentication