diff options
author | madmaxoft <github@xoft.cz> | 2014-08-03 11:57:26 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2014-08-03 22:04:48 +0200 |
commit | 836de13797577289e91478ce89de65d39096f9e4 (patch) | |
tree | 163f5d281bea0b8f446dd8c73ad9ea381ab4af07 /src/Entities/Player.h | |
parent | Fixed a ToLua warning - operator = not supported. (diff) | |
download | cuberite-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 '')
-rw-r--r-- | src/Entities/Player.h | 3 |
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 |