summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.h
diff options
context:
space:
mode:
authorarchshift <admin@archshift.com>2014-04-25 02:24:39 +0200
committerarchshift <admin@archshift.com>2014-04-25 03:03:49 +0200
commitb008ba5d982542d8a2857544af1aa88a41cf7b13 (patch)
tree8b08264287ae5eb55f6a10b952126d399dc15b5d /src/ClientHandle.h
parentFixed class capitalization for the cave spider. (diff)
downloadcuberite-b008ba5d982542d8a2857544af1aa88a41cf7b13.tar
cuberite-b008ba5d982542d8a2857544af1aa88a41cf7b13.tar.gz
cuberite-b008ba5d982542d8a2857544af1aa88a41cf7b13.tar.bz2
cuberite-b008ba5d982542d8a2857544af1aa88a41cf7b13.tar.lz
cuberite-b008ba5d982542d8a2857544af1aa88a41cf7b13.tar.xz
cuberite-b008ba5d982542d8a2857544af1aa88a41cf7b13.tar.zst
cuberite-b008ba5d982542d8a2857544af1aa88a41cf7b13.zip
Diffstat (limited to 'src/ClientHandle.h')
-rw-r--r--src/ClientHandle.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/ClientHandle.h b/src/ClientHandle.h
index 3d01d8034..e2b44ce8a 100644
--- a/src/ClientHandle.h
+++ b/src/ClientHandle.h
@@ -77,6 +77,9 @@ public:
This is used for the offline (non-auth) mode, when there's no UUID source.
Each username generates a unique and constant UUID, so that when the player reconnects with the same name, their UUID is the same. */
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);
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