diff options
author | lapayo94@gmail.com <lapayo94@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-07-09 17:53:17 +0200 |
---|---|---|
committer | lapayo94@gmail.com <lapayo94@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-07-09 17:53:17 +0200 |
commit | d82e2449a0282232c6e6acd1a84514ee5332f4db (patch) | |
tree | 6935f3cd4a9d3050b1aed8b1b0f9514f5fcff17f /source/cPluginManager.h | |
parent | Sorry... (diff) | |
download | cuberite-d82e2449a0282232c6e6acd1a84514ee5332f4db.tar cuberite-d82e2449a0282232c6e6acd1a84514ee5332f4db.tar.gz cuberite-d82e2449a0282232c6e6acd1a84514ee5332f4db.tar.bz2 cuberite-d82e2449a0282232c6e6acd1a84514ee5332f4db.tar.lz cuberite-d82e2449a0282232c6e6acd1a84514ee5332f4db.tar.xz cuberite-d82e2449a0282232c6e6acd1a84514ee5332f4db.tar.zst cuberite-d82e2449a0282232c6e6acd1a84514ee5332f4db.zip |
Diffstat (limited to 'source/cPluginManager.h')
-rw-r--r-- | source/cPluginManager.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/source/cPluginManager.h b/source/cPluginManager.h index e40b00dcf..2e50b2005 100644 --- a/source/cPluginManager.h +++ b/source/cPluginManager.h @@ -5,6 +5,7 @@ struct lua_State; class cLuaCommandBinder; +class cSquirrelCommandBinder; class cPlugin; class cPlugin_Lua; @@ -109,8 +110,10 @@ public: //tolua_export void RemovePlugin( cPlugin* a_Plugin, bool a_bDelete = false ); //tolua_export void RemoveLuaPlugin( std::string a_FileName ); //tolua_export cPlugin_Lua* GetLuaPlugin( lua_State* a_State ); //tolua_export - + cLuaCommandBinder* GetLuaCommandBinder() const { return m_LuaCommandBinder; } + + cSquirrelCommandBinder* GetSquirrelCommandBinder() { return m_SquirrelCommandBinder; } bool HasPlugin( cPlugin* a_Plugin ) const; private: @@ -127,8 +130,9 @@ private: void ReloadPluginsNow(); void UnloadPluginsNow(); - + cLuaCommandBinder* m_LuaCommandBinder; + cSquirrelCommandBinder* m_SquirrelCommandBinder; bool m_bReloadPlugins; }; //tolua_export |