diff options
author | STRWarrior <niels.breuker@hotmail.nl> | 2013-12-11 12:39:13 +0100 |
---|---|---|
committer | STRWarrior <niels.breuker@hotmail.nl> | 2013-12-11 12:39:13 +0100 |
commit | 12bd5082b897b3df20cf84eebda07d3135cdbe43 (patch) | |
tree | 7f8ab91a8e8d444aeb01c4f31a6f61cb5b0b18fb /src/Bindings/PluginManager.h | |
parent | Merge pull request #412 from mc-server/fixes (diff) | |
download | cuberite-12bd5082b897b3df20cf84eebda07d3135cdbe43.tar cuberite-12bd5082b897b3df20cf84eebda07d3135cdbe43.tar.gz cuberite-12bd5082b897b3df20cf84eebda07d3135cdbe43.tar.bz2 cuberite-12bd5082b897b3df20cf84eebda07d3135cdbe43.tar.lz cuberite-12bd5082b897b3df20cf84eebda07d3135cdbe43.tar.xz cuberite-12bd5082b897b3df20cf84eebda07d3135cdbe43.tar.zst cuberite-12bd5082b897b3df20cf84eebda07d3135cdbe43.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Bindings/PluginManager.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Bindings/PluginManager.h b/src/Bindings/PluginManager.h index 8282b061c..09f230475 100644 --- a/src/Bindings/PluginManager.h +++ b/src/Bindings/PluginManager.h @@ -106,6 +106,7 @@ public: // tolua_export HOOK_UPDATING_SIGN, HOOK_WEATHER_CHANGED, HOOK_WEATHER_CHANGING, + HOOK_WORLD_STARTED, HOOK_WORLD_TICK, // Note that if a hook type is added, it may need processing in cPlugin::CanAddHook() descendants, @@ -191,6 +192,7 @@ public: // tolua_export bool CallHookUpdatingSign (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); bool CallHookWeatherChanged (cWorld & a_World); bool CallHookWeatherChanging (cWorld & a_World, eWeather & a_NewWeather); + bool CallHookWorldStarted (cWorld & a_World); bool CallHookWorldTick (cWorld & a_World, float a_Dt, int a_LastTickDurationMSec); bool DisablePlugin(const AString & a_PluginName); // tolua_export |