diff options
author | KrystilizeNevaDies <57762380+KrystilizeNevaDies@users.noreply.github.com> | 2020-09-21 17:31:45 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-09-21 17:31:45 +0200 |
commit | 23bca008317e125659d4b97f29cf13da81a7aecd (patch) | |
tree | cb48b0c62ca3254c0d8aeaf4485d773b17c2c515 /src/Bindings/Plugin.h | |
parent | Trapdoor crash fix (#4890) (diff) | |
download | cuberite-23bca008317e125659d4b97f29cf13da81a7aecd.tar cuberite-23bca008317e125659d4b97f29cf13da81a7aecd.tar.gz cuberite-23bca008317e125659d4b97f29cf13da81a7aecd.tar.bz2 cuberite-23bca008317e125659d4b97f29cf13da81a7aecd.tar.lz cuberite-23bca008317e125659d4b97f29cf13da81a7aecd.tar.xz cuberite-23bca008317e125659d4b97f29cf13da81a7aecd.tar.zst cuberite-23bca008317e125659d4b97f29cf13da81a7aecd.zip |
Diffstat (limited to 'src/Bindings/Plugin.h')
-rw-r--r-- | src/Bindings/Plugin.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Bindings/Plugin.h b/src/Bindings/Plugin.h index afc575b13..19947ff2e 100644 --- a/src/Bindings/Plugin.h +++ b/src/Bindings/Plugin.h @@ -66,6 +66,7 @@ public: virtual bool OnHandshake (cClientHandle & a_Client, const AString & a_Username) = 0; virtual bool OnHopperPullingItem (cWorld & a_World, cHopperEntity & a_Hopper, int a_DstSlotNum, cBlockEntityWithItems & a_SrcEntity, int a_SrcSlotNum) = 0; virtual bool OnHopperPushingItem (cWorld & a_World, cHopperEntity & a_Hopper, int a_SrcSlotNum, cBlockEntityWithItems & a_DstEntity, int a_DstSlotNum) = 0; + virtual bool OnDropSpense (cWorld & a_World, cDropSpenserEntity & a_DropSpenser, int a_SlotNum) = 0; virtual bool OnKilled (cEntity & a_Victim, TakeDamageInfo & a_TDI, AString & a_DeathMessage) = 0; virtual bool OnKilling (cEntity & a_Victim, cEntity * a_Killer, TakeDamageInfo & a_TDI) = 0; virtual bool OnLogin (cClientHandle & a_Client, UInt32 a_ProtocolVersion, const AString & a_Username) = 0; |