diff options
author | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-07-14 20:49:31 +0200 |
---|---|---|
committer | Tiger Wang <ziwei.tiger@hotmail.co.uk> | 2014-07-14 20:49:31 +0200 |
commit | 4e24f711abd3d6a93f01ee7c297eb67c8aedbd37 (patch) | |
tree | 8b9c4ada0a310717932fcbeda10e0d4f8cc5d8bc /src/ClientHandle.h | |
parent | Only one instance of server can be started (diff) | |
download | cuberite-4e24f711abd3d6a93f01ee7c297eb67c8aedbd37.tar cuberite-4e24f711abd3d6a93f01ee7c297eb67c8aedbd37.tar.gz cuberite-4e24f711abd3d6a93f01ee7c297eb67c8aedbd37.tar.bz2 cuberite-4e24f711abd3d6a93f01ee7c297eb67c8aedbd37.tar.lz cuberite-4e24f711abd3d6a93f01ee7c297eb67c8aedbd37.tar.xz cuberite-4e24f711abd3d6a93f01ee7c297eb67c8aedbd37.tar.zst cuberite-4e24f711abd3d6a93f01ee7c297eb67c8aedbd37.zip |
Diffstat (limited to '')
-rw-r--r-- | src/ClientHandle.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/ClientHandle.h b/src/ClientHandle.h index b0bbda19e..478da5b3c 100644 --- a/src/ClientHandle.h +++ b/src/ClientHandle.h @@ -67,6 +67,8 @@ public: const AString & GetUUID(void) const { return m_UUID; } // tolua_export void SetUUID(const AString & a_UUID) { m_UUID = a_UUID; } + + const AString & GetProperties(void) const { return m_Properties; } /** Generates an UUID based on the username stored for this client, and stores it in the m_UUID member. This is used for the offline (non-auth) mode, when there's no UUID source. @@ -92,7 +94,7 @@ public: 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 + void Authenticate(const AString & a_Name, const AString & a_UUID, const AString & a_Properties); // Called by cAuthenticator when the user passes authentication void StreamChunks(void); @@ -280,6 +282,7 @@ private: AString m_Username; AString m_Password; + AString m_Properties; cCriticalSection m_CSChunkLists; cChunkCoordsList m_LoadedChunks; // Chunks that the player belongs to |