summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginManager.h
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2014-03-29 15:26:41 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2014-03-29 15:26:41 +0100
commit339d55511127981335193d07037719a4b26c4600 (patch)
treea11e1e4ca6a2bceac6b78a070069c93668e66e03 /src/Bindings/PluginManager.h
parentFixed non-virtual destructors warnings. (diff)
downloadcuberite-339d55511127981335193d07037719a4b26c4600.tar
cuberite-339d55511127981335193d07037719a4b26c4600.tar.gz
cuberite-339d55511127981335193d07037719a4b26c4600.tar.bz2
cuberite-339d55511127981335193d07037719a4b26c4600.tar.lz
cuberite-339d55511127981335193d07037719a4b26c4600.tar.xz
cuberite-339d55511127981335193d07037719a4b26c4600.tar.zst
cuberite-339d55511127981335193d07037719a4b26c4600.zip
Diffstat (limited to '')
-rw-r--r--src/Bindings/PluginManager.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Bindings/PluginManager.h b/src/Bindings/PluginManager.h
index 7895be959..c5071ee83 100644
--- a/src/Bindings/PluginManager.h
+++ b/src/Bindings/PluginManager.h
@@ -18,6 +18,9 @@ class cChunkDesc;
// fwd: Entities/Entity.h
class cEntity;
+// fwd: Entities/ProjectileEntity.h
+class cProjectileEntity;
+
// fwd: Mobs/Monster.h
class cMonster;
@@ -102,6 +105,7 @@ public: // tolua_export
HOOK_PLUGINS_LOADED,
HOOK_POST_CRAFTING,
HOOK_PRE_CRAFTING,
+ HOOK_PROJECTILE_HIT_ENTITY,
HOOK_SPAWNED_ENTITY,
HOOK_SPAWNED_MONSTER,
HOOK_SPAWNING_ENTITY,
@@ -201,6 +205,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 CallHookProjectileHitEntity (cProjectileEntity & a_Projectile, cEntity & a_HitEntity);
bool CallHookSpawnedEntity (cWorld & a_World, cEntity & a_Entity);
bool CallHookSpawnedMonster (cWorld & a_World, cMonster & a_Monster);
bool CallHookSpawningEntity (cWorld & a_World, cEntity & a_Entity);