summaryrefslogtreecommitdiffstats
path: root/source/Root.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-11-20 22:28:43 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-11-20 22:28:43 +0100
commit2fcdbfd42807111940e9c52f26491ffea1fb8a27 (patch)
treeb118b3b811de68f51c9c9f5df7365802f293c75d /source/Root.h
parentLinux Makefile: Added the gcc option to output debugging information even in release builds. (diff)
downloadcuberite-2fcdbfd42807111940e9c52f26491ffea1fb8a27.tar
cuberite-2fcdbfd42807111940e9c52f26491ffea1fb8a27.tar.gz
cuberite-2fcdbfd42807111940e9c52f26491ffea1fb8a27.tar.bz2
cuberite-2fcdbfd42807111940e9c52f26491ffea1fb8a27.tar.lz
cuberite-2fcdbfd42807111940e9c52f26491ffea1fb8a27.tar.xz
cuberite-2fcdbfd42807111940e9c52f26491ffea1fb8a27.tar.zst
cuberite-2fcdbfd42807111940e9c52f26491ffea1fb8a27.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 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