summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginManager.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-12-29 12:51:58 +0100
committermadmaxoft <github@xoft.cz>2013-12-29 12:51:58 +0100
commit248ba1ea9f6826234535c2a777b3834fbe264e0d (patch)
treeaa52fc2b6d3f78dcaea12d08dd4a2583516d8c8f /src/Bindings/PluginManager.h
parentMerge pull request #481 from MikeHunsinger/master (diff)
downloadcuberite-248ba1ea9f6826234535c2a777b3834fbe264e0d.tar
cuberite-248ba1ea9f6826234535c2a777b3834fbe264e0d.tar.gz
cuberite-248ba1ea9f6826234535c2a777b3834fbe264e0d.tar.bz2
cuberite-248ba1ea9f6826234535c2a777b3834fbe264e0d.tar.lz
cuberite-248ba1ea9f6826234535c2a777b3834fbe264e0d.tar.xz
cuberite-248ba1ea9f6826234535c2a777b3834fbe264e0d.tar.zst
cuberite-248ba1ea9f6826234535c2a777b3834fbe264e0d.zip
Diffstat (limited to 'src/Bindings/PluginManager.h')
-rw-r--r--src/Bindings/PluginManager.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Bindings/PluginManager.h b/src/Bindings/PluginManager.h
index 04d6470c7..5abb8be84 100644
--- a/src/Bindings/PluginManager.h
+++ b/src/Bindings/PluginManager.h
@@ -94,6 +94,7 @@ public: // tolua_export
HOOK_PLAYER_USED_ITEM,
HOOK_PLAYER_USING_BLOCK,
HOOK_PLAYER_USING_ITEM,
+ HOOK_PLUGINS_LOADED,
HOOK_POST_CRAFTING,
HOOK_PRE_CRAFTING,
HOOK_SPAWNED_ENTITY,
@@ -181,6 +182,7 @@ public: // tolua_export
bool CallHookPlayerUsedItem (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, int a_CursorX, int a_CursorY, int a_CursorZ);
bool CallHookPlayerUsingBlock (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, int a_CursorX, int a_CursorY, int a_CursorZ, BLOCKTYPE a_BlockType, NIBBLETYPE a_BlockMeta);
bool CallHookPlayerUsingItem (cPlayer & a_Player, int a_BlockX, int a_BlockY, int a_BlockZ, char a_BlockFace, int a_CursorX, int a_CursorY, int a_CursorZ);
+ bool CallHookPluginsLoaded (void);
bool CallHookPostCrafting (const cPlayer * a_Player, const cCraftingGrid * a_Grid, cCraftingRecipe * a_Recipe);
bool CallHookPreCrafting (const cPlayer * a_Player, const cCraftingGrid * a_Grid, cCraftingRecipe * a_Recipe);
bool CallHookSpawnedEntity (cWorld & a_World, cEntity & a_Entity);