summaryrefslogtreecommitdiffstats
path: root/source/Root.h
diff options
context:
space:
mode:
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);