summaryrefslogtreecommitdiffstats
path: root/source/cClientHandle.h
diff options
context:
space:
mode:
authorfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-04-11 14:16:13 +0200
committerfaketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-04-11 14:16:13 +0200
commitae3fa2b6220b5e5f995c0b9c79db605cddcd5fb5 (patch)
tree2b0994ab5e9709562f4dec862456c51762986ae9 /source/cClientHandle.h
parentAdded error messages to socket closing error conditions for *nix (diff)
downloadcuberite-ae3fa2b6220b5e5f995c0b9c79db605cddcd5fb5.tar
cuberite-ae3fa2b6220b5e5f995c0b9c79db605cddcd5fb5.tar.gz
cuberite-ae3fa2b6220b5e5f995c0b9c79db605cddcd5fb5.tar.bz2
cuberite-ae3fa2b6220b5e5f995c0b9c79db605cddcd5fb5.tar.lz
cuberite-ae3fa2b6220b5e5f995c0b9c79db605cddcd5fb5.tar.xz
cuberite-ae3fa2b6220b5e5f995c0b9c79db605cddcd5fb5.tar.zst
cuberite-ae3fa2b6220b5e5f995c0b9c79db605cddcd5fb5.zip
Diffstat (limited to '')
-rw-r--r--source/cClientHandle.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/cClientHandle.h b/source/cClientHandle.h
index 05ec39f07..dd5094222 100644
--- a/source/cClientHandle.h
+++ b/source/cClientHandle.h
@@ -106,6 +106,7 @@ public:
inline short GetPing() const { return m_Ping; } //tolua_export
void SetViewDistance(int a_ViewDistance); //tolua_export
+ int GetViewDistance() { return m_ViewDistance; }//tolua_export
int GetUniqueID() const { return m_UniqueID; } //tolua_export