diff options
author | madmaxoft <github@xoft.cz> | 2013-08-19 09:28:22 +0200 |
---|---|---|
committer | madmaxoft <github@xoft.cz> | 2013-08-19 09:28:22 +0200 |
commit | dd030fa8920d8cf9c863d2ffdcd791edc1749172 (patch) | |
tree | 33daa2cddc50cf496b6714a48d781ff9403a68b6 /source/PluginManager.h | |
parent | cChunk::SetBlock() now uses cChunk::FastSetBlock() for the common code path. (diff) | |
download | cuberite-dd030fa8920d8cf9c863d2ffdcd791edc1749172.tar cuberite-dd030fa8920d8cf9c863d2ffdcd791edc1749172.tar.gz cuberite-dd030fa8920d8cf9c863d2ffdcd791edc1749172.tar.bz2 cuberite-dd030fa8920d8cf9c863d2ffdcd791edc1749172.tar.lz cuberite-dd030fa8920d8cf9c863d2ffdcd791edc1749172.tar.xz cuberite-dd030fa8920d8cf9c863d2ffdcd791edc1749172.tar.zst cuberite-dd030fa8920d8cf9c863d2ffdcd791edc1749172.zip |
Diffstat (limited to 'source/PluginManager.h')
-rw-r--r-- | source/PluginManager.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/PluginManager.h b/source/PluginManager.h index b90f90156..290737461 100644 --- a/source/PluginManager.h +++ b/source/PluginManager.h @@ -106,6 +106,7 @@ public: // tolua_export HOOK_UPDATING_SIGN, HOOK_WEATHER_CHANGED, HOOK_WEATHER_CHANGING, + HOOK_WORLD_TICK, // Note that if a hook type is added, it may need processing in cPlugin::CanAddHook() descendants, // and it definitely needs adding in cPlugin_NewLua::GetHookFnName() ! @@ -184,6 +185,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 CallHookWorldTick (cWorld & a_World, float a_Dt); bool DisablePlugin(const AString & a_PluginName); // tolua_export bool LoadPlugin (const AString & a_PluginName); // tolua_export |