summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.h
diff options
context:
space:
mode:
authorHowaner <franzi.moos@googlemail.com>2014-02-16 13:26:07 +0100
committerHowaner <franzi.moos@googlemail.com>2014-02-16 13:26:07 +0100
commit48d28a0f94ab168b7cb022107f6a62e3250043bc (patch)
tree5df314617f7be4ac9946820d163300ec8433ce1d /src/ClientHandle.h
parentReplace random Float Generation and broadcast the Exp Pickup Sound (diff)
downloadcuberite-48d28a0f94ab168b7cb022107f6a62e3250043bc.tar
cuberite-48d28a0f94ab168b7cb022107f6a62e3250043bc.tar.gz
cuberite-48d28a0f94ab168b7cb022107f6a62e3250043bc.tar.bz2
cuberite-48d28a0f94ab168b7cb022107f6a62e3250043bc.tar.lz
cuberite-48d28a0f94ab168b7cb022107f6a62e3250043bc.tar.xz
cuberite-48d28a0f94ab168b7cb022107f6a62e3250043bc.tar.zst
cuberite-48d28a0f94ab168b7cb022107f6a62e3250043bc.zip
Diffstat (limited to 'src/ClientHandle.h')
-rw-r--r--src/ClientHandle.h7
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)