diff options
author | madmaxoft <github@xoft.cz> | 2013-10-23 11:06:39 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-10-23 11:06:39 +0200 |
commit | d3db97301b58f761b5754224d4dad4eff49cafbf (patch) | |
tree | 1938ac46dd48ea90b385e29dc1a322e5ee2b16c3 /source/Root.h | |
parent | APIDump: member variables without a setter are considered constants. (diff) | |
download | cuberite-d3db97301b58f761b5754224d4dad4eff49cafbf.tar cuberite-d3db97301b58f761b5754224d4dad4eff49cafbf.tar.gz cuberite-d3db97301b58f761b5754224d4dad4eff49cafbf.tar.bz2 cuberite-d3db97301b58f761b5754224d4dad4eff49cafbf.tar.lz cuberite-d3db97301b58f761b5754224d4dad4eff49cafbf.tar.xz cuberite-d3db97301b58f761b5754224d4dad4eff49cafbf.tar.zst cuberite-d3db97301b58f761b5754224d4dad4eff49cafbf.zip |
Diffstat (limited to '')
-rw-r--r-- | source/Root.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/Root.h b/source/Root.h index 2b15d3461..c05b29d14 100644 --- a/source/Root.h +++ b/source/Root.h @@ -32,10 +32,7 @@ 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 + static cRoot * Get() { return s_Root; } // tolua_export cRoot(void); ~cRoot(); @@ -55,7 +52,7 @@ public: 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; } + cMonsterConfig * GetMonsterConfig(void) { return m_MonsterConfig; } cGroupManager * GetGroupManager (void) { return m_GroupManager; } // tolua_export cCraftingRecipes * GetCraftingRecipes(void) { return m_CraftingRecipes; } // tolua_export @@ -135,6 +132,9 @@ private: typedef std::map<AString, cWorld *> WorldMap; typedef std::vector<cCommand> cCommandQueue; + /// The version of the protocol that is primary for the server (reported in the server list). All versions are still supported. + int m_PrimaryServerVersion; + cWorld * m_pDefaultWorld; WorldMap m_WorldsByName; |