summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginManager.h
diff options
context:
space:
mode:
authorNounours Heureux <schtroumps31@gmail.com>2015-06-02 17:06:18 +0200
committerNounours Heureux <schtroumps31@gmail.com>2015-06-13 10:00:31 +0200
commitd79f601d5a62f2291615955fac196dbab5caa15a (patch)
tree888f41c63844b9bd0336f9ef0ed585aa6a635883 /src/Bindings/PluginManager.h
parentNetherPortalScanner: Fixed type conversion warnings. (diff)
downloadcuberite-d79f601d5a62f2291615955fac196dbab5caa15a.tar
cuberite-d79f601d5a62f2291615955fac196dbab5caa15a.tar.gz
cuberite-d79f601d5a62f2291615955fac196dbab5caa15a.tar.bz2
cuberite-d79f601d5a62f2291615955fac196dbab5caa15a.tar.lz
cuberite-d79f601d5a62f2291615955fac196dbab5caa15a.tar.xz
cuberite-d79f601d5a62f2291615955fac196dbab5caa15a.tar.zst
cuberite-d79f601d5a62f2291615955fac196dbab5caa15a.zip
Diffstat (limited to '')
-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 6bcef87bf..153f4996d 100644
--- a/src/Bindings/PluginManager.h
+++ b/src/Bindings/PluginManager.h
@@ -94,6 +94,7 @@ public:
HOOK_HANDSHAKE,
HOOK_HOPPER_PULLING_ITEM,
HOOK_HOPPER_PUSHING_ITEM,
+ HOOK_KILLED,
HOOK_KILLING,
HOOK_LOGIN,
HOOK_PLAYER_BREAKING_BLOCK,
@@ -211,6 +212,7 @@ public:
bool CallHookHandshake (cClientHandle & a_ClientHandle, const AString & a_Username);
bool CallHookHopperPullingItem (cWorld & a_World, cHopperEntity & a_Hopper, int a_DstSlotNum, cBlockEntityWithItems & a_SrcEntity, int a_SrcSlotNum);
bool CallHookHopperPushingItem (cWorld & a_World, cHopperEntity & a_Hopper, int a_SrcSlotNum, cBlockEntityWithItems & a_DstEntity, int a_DstSlotNum);
+ bool CallHookKilled (cEntity & a_Victim, TakeDamageInfo & a_TDI, AString & a_DeathMessage);
bool CallHookKilling (cEntity & a_Victim, cEntity * a_Killer, TakeDamageInfo & a_TDI);
bool CallHookLogin (cClientHandle & a_Client, int a_ProtocolVersion, const AString & a_Username);
bool CallHookPlayerAnimation (cPlayer & a_Player, int a_Animation);