From 08a20492efe581acc1129e940c730c1ea1715674 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Wed, 31 Oct 2012 19:54:42 +0000 Subject: Added the [Server].PrimaryServerVersion setting to settings.ini; 1.4.2 gets the correct version git-svn-id: http://mc-server.googlecode.com/svn/trunk@1018 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/Root.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source/Root.h') 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 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); -- cgit v1.2.3