summaryrefslogtreecommitdiffstats
path: root/src/Bindings/PluginLua.h
diff options
context:
space:
mode:
authorAlexander Harkness <me@bearbin.net>2015-06-13 12:59:07 +0200
committerAlexander Harkness <me@bearbin.net>2015-06-13 12:59:07 +0200
commitce93cfc34c85ef34e7a7d52b65fccfe9dcaf7537 (patch)
treeade44b9828d0146d673901fb2a7e40b026c1fd9e /src/Bindings/PluginLua.h
parentNetherPortalScanner: Fixed type conversion warnings. (diff)
parentAdded documentation for HOOK_KILLED (diff)
downloadcuberite-ce93cfc34c85ef34e7a7d52b65fccfe9dcaf7537.tar
cuberite-ce93cfc34c85ef34e7a7d52b65fccfe9dcaf7537.tar.gz
cuberite-ce93cfc34c85ef34e7a7d52b65fccfe9dcaf7537.tar.bz2
cuberite-ce93cfc34c85ef34e7a7d52b65fccfe9dcaf7537.tar.lz
cuberite-ce93cfc34c85ef34e7a7d52b65fccfe9dcaf7537.tar.xz
cuberite-ce93cfc34c85ef34e7a7d52b65fccfe9dcaf7537.tar.zst
cuberite-ce93cfc34c85ef34e7a7d52b65fccfe9dcaf7537.zip
Diffstat (limited to 'src/Bindings/PluginLua.h')
-rw-r--r--src/Bindings/PluginLua.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Bindings/PluginLua.h b/src/Bindings/PluginLua.h
index a763cdfdf..7de70ef1f 100644
--- a/src/Bindings/PluginLua.h
+++ b/src/Bindings/PluginLua.h
@@ -123,6 +123,7 @@ public:
virtual bool OnHandshake (cClientHandle & a_Client, const AString & a_Username) override;
virtual bool OnHopperPullingItem (cWorld & a_World, cHopperEntity & a_Hopper, int a_DstSlotNum, cBlockEntityWithItems & a_SrcEntity, int a_SrcSlotNum) override;
virtual bool OnHopperPushingItem (cWorld & a_World, cHopperEntity & a_Hopper, int a_SrcSlotNum, cBlockEntityWithItems & a_DstEntity, int a_DstSlotNum) override;
+ virtual bool OnKilled (cEntity & a_Victim, TakeDamageInfo & a_TDI, AString & a_DeathMessage) override;
virtual bool OnKilling (cEntity & a_Victim, cEntity * a_Killer, TakeDamageInfo & a_TDI) override;
virtual bool OnLogin (cClientHandle & a_Client, int a_ProtocolVersion, const AString & a_Username) override;
virtual bool OnPlayerAnimation (cPlayer & a_Player, int a_Animation) override;