diff options
author | STRWarrior <niels.breuker@hotmail.nl> | 2014-03-29 16:00:45 +0100 |
---|---|---|
committer | STRWarrior <niels.breuker@hotmail.nl> | 2014-03-29 16:00:45 +0100 |
commit | ec4638a228edcf4c745088838e972ea07edc7cba (patch) | |
tree | 280182543c9788b7bc19bcc47c1a7ed2dc4ba3db /src/Bindings/PluginManager.h | |
parent | Fixed error when the hook gets called. (diff) | |
download | cuberite-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.h | 2 |
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); |