summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.h
diff options
context:
space:
mode:
authordaniel0916 <theschokolps@gmail.com>2014-04-13 13:04:56 +0200
committerdaniel0916 <theschokolps@gmail.com>2014-04-13 13:04:56 +0200
commitb506a7407661c0527255466cf8b315824b0003c0 (patch)
treec1a08a8c495fdd9e25fbcabbc5c072efb5470798 /src/ClientHandle.h
parentUpdated the NetherFort prefabs to current Gallery contents. (diff)
downloadcuberite-b506a7407661c0527255466cf8b315824b0003c0.tar
cuberite-b506a7407661c0527255466cf8b315824b0003c0.tar.gz
cuberite-b506a7407661c0527255466cf8b315824b0003c0.tar.bz2
cuberite-b506a7407661c0527255466cf8b315824b0003c0.tar.lz
cuberite-b506a7407661c0527255466cf8b315824b0003c0.tar.xz
cuberite-b506a7407661c0527255466cf8b315824b0003c0.tar.zst
cuberite-b506a7407661c0527255466cf8b315824b0003c0.zip
Diffstat (limited to 'src/ClientHandle.h')
-rw-r--r--src/ClientHandle.h6
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;