diff options
author | madmaxoft <github@xoft.cz> | 2014-04-14 18:53:56 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-04-14 18:53:56 +0200 |
commit | ffe65b6a184224d4684f08bcbba01d1ce92d7236 (patch) | |
tree | 7cc93ae32afcafa6f4c6cc5f630ec1b50dc6f0b0 /src/ClientHandle.h | |
parent | Initial 1.7.6 protocol support. (diff) | |
parent | Fixed mistake (diff) | |
download | cuberite-ffe65b6a184224d4684f08bcbba01d1ce92d7236.tar cuberite-ffe65b6a184224d4684f08bcbba01d1ce92d7236.tar.gz cuberite-ffe65b6a184224d4684f08bcbba01d1ce92d7236.tar.bz2 cuberite-ffe65b6a184224d4684f08bcbba01d1ce92d7236.tar.lz cuberite-ffe65b6a184224d4684f08bcbba01d1ce92d7236.tar.xz cuberite-ffe65b6a184224d4684f08bcbba01d1ce92d7236.tar.zst cuberite-ffe65b6a184224d4684f08bcbba01d1ce92d7236.zip |
Diffstat (limited to 'src/ClientHandle.h')
-rw-r--r-- | src/ClientHandle.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/ClientHandle.h b/src/ClientHandle.h index 0c367ec7d..0f07c980b 100644 --- a/src/ClientHandle.h +++ b/src/ClientHandle.h @@ -62,8 +62,11 @@ public: cPlayer* GetPlayer() { return m_Player; } // tolua_export + const AString & GetUUID(void) const { return m_UUID; } // tolua_export + void setUUID(const AString & a_UUID) { m_UUID = a_UUID; } + void Kick(const AString & a_Reason); // tolua_export - void Authenticate(void); // Called by cAuthenticator when the user passes authentication + void Authenticate(const AString & a_Name, const AString & a_UUID); // Called by cAuthenticator when the user passes authentication void StreamChunks(void); @@ -326,6 +329,7 @@ private: static int s_ClientCount; int m_UniqueID; + AString m_UUID; /** Set to true when the chunk where the player is is sent to the client. Used for spawning the player */ bool m_HasSentPlayerChunk; |