diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-06-04 14:08:20 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-06-04 14:08:20 +0200 |
commit | b355bdeccecf727d30e48634df9b5d424db570bc (patch) | |
tree | 00489a1317e6ad22a28698f24bd9935160257789 /source/cRoot.h | |
parent | Fixed MSVC2010 projects for new zlib (diff) | |
download | cuberite-b355bdeccecf727d30e48634df9b5d424db570bc.tar cuberite-b355bdeccecf727d30e48634df9b5d424db570bc.tar.gz cuberite-b355bdeccecf727d30e48634df9b5d424db570bc.tar.bz2 cuberite-b355bdeccecf727d30e48634df9b5d424db570bc.tar.lz cuberite-b355bdeccecf727d30e48634df9b5d424db570bc.tar.xz cuberite-b355bdeccecf727d30e48634df9b5d424db570bc.tar.zst cuberite-b355bdeccecf727d30e48634df9b5d424db570bc.zip |
Diffstat (limited to 'source/cRoot.h')
-rw-r--r-- | source/cRoot.h | 39 |
1 files changed, 21 insertions, 18 deletions
diff --git a/source/cRoot.h b/source/cRoot.h index 5fc43afe8..f1b9bb7ca 100644 --- a/source/cRoot.h +++ b/source/cRoot.h @@ -14,6 +14,7 @@ class cThread; class cMonsterConfig;
class cGroupManager;
class cRecipeChecker;
+class cCraftingRecipes;
class cFurnaceRecipe;
class cWebAdmin;
class cPluginManager;
@@ -32,26 +33,27 @@ class cRoot //tolua_export public:
static cRoot* Get() { return s_Root; } //tolua_export
- cRoot();
+ cRoot(void);
~cRoot();
- void Start();
+ void Start(void);
- cServer* GetServer(void) { return m_Server; } //tolua_export
- cWorld* GetDefaultWorld(void); //tolua_export
- cWorld* GetWorld( const AString & a_WorldName ); //tolua_export
+ cServer * GetServer(void) { return m_Server; } //tolua_export
+ cWorld * GetDefaultWorld(void); //tolua_export
+ cWorld * GetWorld(const AString & a_WorldName); //tolua_export
/// Calls the callback for each world; returns true if the callback didn't abort (return true)
bool ForEachWorld(cWorldListCallback & a_Callback); // >> Exported in ManualBindings <<
- cMonsterConfig *GetMonsterConfig() { return m_MonsterConfig;}
+ cMonsterConfig * GetMonsterConfig() { return m_MonsterConfig; }
- cGroupManager * GetGroupManager (void) { return m_GroupManager; } // tolua_export
- cRecipeChecker * GetRecipeChecker(void) { return m_RecipeChecker; } // tolua_export
- cFurnaceRecipe * GetFurnaceRecipe(void) { return m_FurnaceRecipe; } // tolua_export
- cWebAdmin * GetWebAdmin (void) { return m_WebAdmin; } // tolua_export
- cPluginManager * GetPluginManager(void) { return m_PluginManager; } // tolua_export
- cAuthenticator & GetAuthenticator(void) { return m_Authenticator; }
+ cGroupManager * GetGroupManager (void) { return m_GroupManager; } // tolua_export
+ cRecipeChecker * GetRecipeChecker (void) { return m_RecipeChecker; } // tolua_export
+ cCraftingRecipes * GetCraftingRecipes(void) { return m_CraftingRecipes; } // tolua_export
+ cFurnaceRecipe * GetFurnaceRecipe (void) { return m_FurnaceRecipe; } // tolua_export
+ cWebAdmin * GetWebAdmin (void) { return m_WebAdmin; } // tolua_export
+ cPluginManager * GetPluginManager (void) { return m_PluginManager; } // tolua_export
+ cAuthenticator & GetAuthenticator (void) { return m_Authenticator; }
void ServerCommand(const char* a_Cmd ); //tolua_export
@@ -78,12 +80,13 @@ private: cServer * m_Server;
cMonsterConfig * m_MonsterConfig;
- cGroupManager * m_GroupManager;
- cRecipeChecker * m_RecipeChecker;
- cFurnaceRecipe * m_FurnaceRecipe;
- cWebAdmin * m_WebAdmin;
- cPluginManager * m_PluginManager;
- cAuthenticator m_Authenticator;
+ cGroupManager * m_GroupManager;
+ cRecipeChecker * m_RecipeChecker;
+ cCraftingRecipes * m_CraftingRecipes;
+ cFurnaceRecipe * m_FurnaceRecipe;
+ cWebAdmin * m_WebAdmin;
+ cPluginManager * m_PluginManager;
+ cAuthenticator m_Authenticator;
cMCLogger * m_Log;
|