diff options
author | Mattes D <github@xoft.cz> | 2014-08-26 14:23:21 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2014-08-26 14:23:21 +0200 |
commit | be32c0527cd6c69289217999927c3308d8169465 (patch) | |
tree | 2b106aeae7032205c8bc1abf06c9e7f646021af9 /src/Root.h | |
parent | Type warning fixes. (diff) | |
parent | RankMgr: Exported the default-rank functions. (diff) | |
download | cuberite-be32c0527cd6c69289217999927c3308d8169465.tar cuberite-be32c0527cd6c69289217999927c3308d8169465.tar.gz cuberite-be32c0527cd6c69289217999927c3308d8169465.tar.bz2 cuberite-be32c0527cd6c69289217999927c3308d8169465.tar.lz cuberite-be32c0527cd6c69289217999927c3308d8169465.tar.xz cuberite-be32c0527cd6c69289217999927c3308d8169465.tar.zst cuberite-be32c0527cd6c69289217999927c3308d8169465.zip |
Diffstat (limited to 'src/Root.h')
-rw-r--r-- | src/Root.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/Root.h b/src/Root.h index 6840efcbe..9bc975889 100644 --- a/src/Root.h +++ b/src/Root.h @@ -5,6 +5,7 @@ #include "Protocol/MojangAPI.h" #include "HTTPServer/HTTPServer.h" #include "Defines.h" +#include "RankManager.h" @@ -13,7 +14,6 @@ // fwd: class cThread; class cMonsterConfig; -class cGroupManager; class cCraftingRecipes; class cFurnaceRecipe; class cWebAdmin; @@ -78,7 +78,6 @@ public: cMonsterConfig * GetMonsterConfig(void) { return m_MonsterConfig; } - cGroupManager * GetGroupManager (void) { return m_GroupManager; } // tolua_export cCraftingRecipes * GetCraftingRecipes(void) { return m_CraftingRecipes; } // tolua_export cFurnaceRecipe * GetFurnaceRecipe (void) { return m_FurnaceRecipe; } // Exported in ManualBindings.cpp with quite a different signature @@ -89,6 +88,7 @@ public: cPluginManager * GetPluginManager (void) { return m_PluginManager; } // tolua_export cAuthenticator & GetAuthenticator (void) { return m_Authenticator; } cMojangAPI & GetMojangAPI (void) { return m_MojangAPI; } + cRankManager & GetRankManager (void) { return m_RankManager; } /** Queues a console command for execution through the cServer class. The command will be executed in the tick thread @@ -122,9 +122,6 @@ public: /// Saves all chunks in all worlds void SaveAllChunks(void); // tolua_export - /// Reloads all the groups - void ReloadGroups(void); // tolua_export - /// Calls the callback for each player in all worlds bool ForEachPlayer(cPlayerListCallback & a_Callback); // >> EXPORTED IN MANUALBINDINGS << @@ -187,13 +184,13 @@ private: cServer * m_Server; cMonsterConfig * m_MonsterConfig; - cGroupManager * m_GroupManager; cCraftingRecipes * m_CraftingRecipes; cFurnaceRecipe * m_FurnaceRecipe; cWebAdmin * m_WebAdmin; cPluginManager * m_PluginManager; cAuthenticator m_Authenticator; cMojangAPI m_MojangAPI; + cRankManager m_RankManager; cHTTPServer m_HTTPServer; bool m_bStop; |