summaryrefslogtreecommitdiffstats
path: root/source/cPluginManager.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-14 21:20:31 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-06-14 21:20:31 +0200
commite1b5f0af046f2c4c05789adf33eef5404adba2c3 (patch)
tree6738e8d63067ef348113e0ae50433722ec952c38 /source/cPluginManager.h
parentAdded a world parameter to HOOK_CHUNK_GENERATING. (diff)
downloadcuberite-e1b5f0af046f2c4c05789adf33eef5404adba2c3.tar
cuberite-e1b5f0af046f2c4c05789adf33eef5404adba2c3.tar.gz
cuberite-e1b5f0af046f2c4c05789adf33eef5404adba2c3.tar.bz2
cuberite-e1b5f0af046f2c4c05789adf33eef5404adba2c3.tar.lz
cuberite-e1b5f0af046f2c4c05789adf33eef5404adba2c3.tar.xz
cuberite-e1b5f0af046f2c4c05789adf33eef5404adba2c3.tar.zst
cuberite-e1b5f0af046f2c4c05789adf33eef5404adba2c3.zip
Diffstat (limited to '')
-rw-r--r--source/cPluginManager.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/cPluginManager.h b/source/cPluginManager.h
index 9f9e41e8b..9ae0d6175 100644
--- a/source/cPluginManager.h
+++ b/source/cPluginManager.h
@@ -55,7 +55,7 @@ public: //tolua_export
HOOK_CRAFTING_NO_RECIPE, /// cPlayer, cCraftingGrid, cCraftingRecipe
HOOK_POST_CRAFTING, /// cPlayer, cCraftingGrid, cCraftingRecipe
HOOK_BLOCK_TO_PICKUP, /// BlockType, BlockMeta, cPlayer, cItem, cItems
- HOOK_WEATHER_CHANGE,
+ HOOK_WEATHER_CHANGED,
// E_PLUGIN_ names are obsolete, but are kept for compatibility reasons
E_PLUGIN_TICK = HOOK_TICK,
@@ -98,6 +98,7 @@ public: //tolua_export
bool CallHookCraftingNoRecipe(const cPlayer * a_Player, const cCraftingGrid * a_Grid, cCraftingRecipe * a_Recipe);
bool CallHookPostCrafting (const cPlayer * a_Player, const cCraftingGrid * a_Grid, cCraftingRecipe * a_Recipe);
bool CallHookBlockToPickup (BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta, const cPlayer * a_Player, const cItem & a_EquippedItem, cItems & a_Pickups);
+ bool CallHookWeatherChanged (cWorld * a_World);
void RemoveHooks( cPlugin* a_Plugin );
void RemovePlugin( cPlugin* a_Plugin, bool a_bDelete = false ); //tolua_export