diff options
author | Mattes D <github@xoft.cz> | 2014-02-16 14:46:36 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-02-16 14:46:36 +0100 |
commit | ec37e534654a541d3e20a433c6e1fe91636a1096 (patch) | |
tree | 89020c391a543ff6d7f8e2189d21749009fc11d8 /src/ClientHandle.h | |
parent | Merge branch 'master' of https://github.com/mc-server/MCServer (diff) | |
parent | Add Locale to ClientHandle (diff) | |
download | cuberite-ec37e534654a541d3e20a433c6e1fe91636a1096.tar cuberite-ec37e534654a541d3e20a433c6e1fe91636a1096.tar.gz cuberite-ec37e534654a541d3e20a433c6e1fe91636a1096.tar.bz2 cuberite-ec37e534654a541d3e20a433c6e1fe91636a1096.tar.lz cuberite-ec37e534654a541d3e20a433c6e1fe91636a1096.tar.xz cuberite-ec37e534654a541d3e20a433c6e1fe91636a1096.tar.zst cuberite-ec37e534654a541d3e20a433c6e1fe91636a1096.zip |
Diffstat (limited to 'src/ClientHandle.h')
-rw-r--r-- | src/ClientHandle.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/ClientHandle.h b/src/ClientHandle.h index 034fe07c2..5faa94004 100644 --- a/src/ClientHandle.h +++ b/src/ClientHandle.h @@ -155,6 +155,9 @@ public: void SetViewDistance(int a_ViewDistance); // tolua_export int GetViewDistance(void) const { return m_ViewDistance; } // tolua_export + + void SetLocale(AString & a_Locale) { m_Locale = a_Locale; } // tolua_export + AString GetLocale(void) const { return m_Locale; } // tolua_export int GetUniqueID() const { return m_UniqueID; } // tolua_export @@ -308,7 +311,9 @@ private: /// Set to true when the chunk where the player is is sent to the client. Used for spawning the player bool m_HasSentPlayerChunk; - + + /// Client Settings + AString m_Locale; /// Returns true if the rate block interactions is within a reasonable limit (bot protection) |