summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginManager.h
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2014-03-29 16:00:45 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2014-03-29 16:00:45 +0100
commitec4638a228edcf4c745088838e972ea07edc7cba (patch)
tree280182543c9788b7bc19bcc47c1a7ed2dc4ba3db /src/Bindings/PluginManager.h
parentFixed error when the hook gets called. (diff)
downloadcuberite-ec4638a228edcf4c745088838e972ea07edc7cba.tar
cuberite-ec4638a228edcf4c745088838e972ea07edc7cba.tar.gz
cuberite-ec4638a228edcf4c745088838e972ea07edc7cba.tar.bz2
cuberite-ec4638a228edcf4c745088838e972ea07edc7cba.tar.lz
cuberite-ec4638a228edcf4c745088838e972ea07edc7cba.tar.xz
cuberite-ec4638a228edcf4c745088838e972ea07edc7cba.tar.zst
cuberite-ec4638a228edcf4c745088838e972ea07edc7cba.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 c5071ee83..512bc1351 100644
--- a/src/Bindings/PluginManager.h
+++ b/src/Bindings/PluginManager.h
@@ -105,6 +105,7 @@ public: // tolua_export
HOOK_PLUGINS_LOADED,
HOOK_POST_CRAFTING,
HOOK_PRE_CRAFTING,
+ HOOK_PROJECTILE_HIT_BLOCK,
HOOK_PROJECTILE_HIT_ENTITY,
HOOK_SPAWNED_ENTITY,
HOOK_SPAWNED_MONSTER,
@@ -205,6 +206,7 @@ public: // tolua_export
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 CallHookProjectileHitBlock (cProjectileEntity & a_Projectile);
bool CallHookProjectileHitEntity (cProjectileEntity & a_Projectile, cEntity & a_HitEntity);
bool CallHookSpawnedEntity (cWorld & a_World, cEntity & a_Entity);
bool CallHookSpawnedMonster (cWorld & a_World, cMonster & a_Monster);