diff options
author | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-10-14 01:34:47 +0200 |
---|---|---|
committer | faketruth <faketruth@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-10-14 01:34:47 +0200 |
commit | 41ba1a7642105ac21b67f4febac3eceef6a39f0a (patch) | |
tree | aec9b8bfcde7f1ad44e2cb28149a41a091f60465 /source/Plugin_NewLua.h | |
parent | Better split of the fluid simulator functionality; removed the old LavaSimulator and WaterSimulator files. (diff) | |
download | cuberite-41ba1a7642105ac21b67f4febac3eceef6a39f0a.tar cuberite-41ba1a7642105ac21b67f4febac3eceef6a39f0a.tar.gz cuberite-41ba1a7642105ac21b67f4febac3eceef6a39f0a.tar.bz2 cuberite-41ba1a7642105ac21b67f4febac3eceef6a39f0a.tar.lz cuberite-41ba1a7642105ac21b67f4febac3eceef6a39f0a.tar.xz cuberite-41ba1a7642105ac21b67f4febac3eceef6a39f0a.tar.zst cuberite-41ba1a7642105ac21b67f4febac3eceef6a39f0a.zip |
Diffstat (limited to 'source/Plugin_NewLua.h')
-rw-r--r-- | source/Plugin_NewLua.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/source/Plugin_NewLua.h b/source/Plugin_NewLua.h index 38e66e329..93df5f1c2 100644 --- a/source/Plugin_NewLua.h +++ b/source/Plugin_NewLua.h @@ -17,7 +17,7 @@ typedef struct lua_State lua_State; class cPlugin_NewLua : public cPlugin, public cWebPlugin //tolua_export { //tolua_export public: //tolua_export - cPlugin_NewLua( const char* a_PluginName ); + cPlugin_NewLua( const AString & a_PluginDirectory ); ~cPlugin_NewLua(); virtual void OnDisable(); //tolua_export @@ -46,9 +46,6 @@ public: //tolua_export virtual bool OnUpdatingSign (cWorld * a_World, int a_BlockX, int a_BlockY, int a_BlockZ, AString & a_Line1, AString & a_Line2, AString & a_Line3, AString & a_Line4, cPlayer * a_Player) override; virtual bool OnWeatherChanged (cWorld * a_World) override; virtual bool OnHandshake (cClientHandle * a_Client, const AString & a_Username) override; - - const AString & GetDirectory(void) const {return m_Directory; } - AString GetLocalDirectory(void) const; //tolua_export virtual void SetName( const AString & a_Name ) override { cPlugin::SetName(a_Name); } @@ -71,6 +68,5 @@ private: cCriticalSection m_CriticalSection; - std::string m_Directory; lua_State * m_LuaState; };//tolua_export
\ No newline at end of file |