summaryrefslogtreecommitdiffstats
path: root/source/Root.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-10-31 20:54:42 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-10-31 20:54:42 +0100
commit08a20492efe581acc1129e940c730c1ea1715674 (patch)
treeb0c24665762aa81f202964aa51ca5c13c9cf7010 /source/Root.h
parentFixed gcc compilation (diff)
downloadcuberite-08a20492efe581acc1129e940c730c1ea1715674.tar
cuberite-08a20492efe581acc1129e940c730c1ea1715674.tar.gz
cuberite-08a20492efe581acc1129e940c730c1ea1715674.tar.bz2
cuberite-08a20492efe581acc1129e940c730c1ea1715674.tar.lz
cuberite-08a20492efe581acc1129e940c730c1ea1715674.tar.xz
cuberite-08a20492efe581acc1129e940c730c1ea1715674.tar.zst
cuberite-08a20492efe581acc1129e940c730c1ea1715674.zip
Diffstat (limited to '')
-rw-r--r--source/Root.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/Root.h b/source/Root.h
index 5a2238332..3c7dfc19b 100644
--- a/source/Root.h
+++ b/source/Root.h
@@ -30,6 +30,9 @@ typedef cItemCallback<cWorld> cWorldListCallback;
class cRoot //tolua_export
{ //tolua_export
public:
+ /// The version of the protocol that is primary for the server (reported in the server list). All versions are still supported.
+ int m_PrimaryServerVersion; // tolua_export
+
static cRoot* Get() { return s_Root; } //tolua_export
cRoot(void);