From 2fcdbfd42807111940e9c52f26491ffea1fb8a27 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Tue, 20 Nov 2012 21:28:43 +0000 Subject: Added primary server version interface to cRoot and "primaryserverversion" console command. git-svn-id: http://mc-server.googlecode.com/svn/trunk@1059 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 3c7dfc19b..482cc3d25 100644 --- a/source/Root.h +++ b/source/Root.h @@ -50,6 +50,9 @@ public: /// Logs chunkstats for each world and totals void LogChunkStats(void); + int GetPrimaryServerVersion(void) const { return m_PrimaryServerVersion; } // tolua_export + void SetPrimaryServerVersion(int a_Version) { m_PrimaryServerVersion = a_Version; } // tolua_export + cMonsterConfig * GetMonsterConfig() { return m_MonsterConfig; } cGroupManager * GetGroupManager (void) { return m_GroupManager; } // tolua_export -- cgit v1.2.3