summaryrefslogtreecommitdiffstats
path: root/src/Entities
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-08-03 11:57:26 +0200
committermadmaxoft <github@xoft.cz>2014-08-03 22:04:48 +0200
commit836de13797577289e91478ce89de65d39096f9e4 (patch)
tree163f5d281bea0b8f446dd8c73ad9ea381ab4af07 /src/Entities
parentFixed a ToLua warning - operator = not supported. (diff)
downloadcuberite-836de13797577289e91478ce89de65d39096f9e4.tar
cuberite-836de13797577289e91478ce89de65d39096f9e4.tar.gz
cuberite-836de13797577289e91478ce89de65d39096f9e4.tar.bz2
cuberite-836de13797577289e91478ce89de65d39096f9e4.tar.lz
cuberite-836de13797577289e91478ce89de65d39096f9e4.tar.xz
cuberite-836de13797577289e91478ce89de65d39096f9e4.tar.zst
cuberite-836de13797577289e91478ce89de65d39096f9e4.zip
Diffstat (limited to 'src/Entities')
-rw-r--r--src/Entities/Player.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/Entities/Player.h b/src/Entities/Player.h
index e3203d6d1..e26808bfc 100644
--- a/src/Entities/Player.h
+++ b/src/Entities/Player.h
@@ -417,6 +417,9 @@ public:
/** Returns wheter the player can fly or not. */
virtual bool CanFly(void) const { return m_CanFly; }
+
+ /** Returns the UUID (short format) that has been read from the client, or empty string if not available. */
+ const AString & GetUUID(void) const { return m_UUID; }
// tolua_end