summaryrefslogtreecommitdiffstats
path: root/source/Plugin.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2013-08-11 14:57:07 +0200
committermadmaxoft <github@xoft.cz>2013-08-11 14:57:07 +0200
commitdd60f55bccd603650906d5025f689a82d00b3718 (patch)
tree773db077844972b21488c448f88572ca691baa51 /source/Plugin.h
parentAdded an AllowEmptyStacks param to cItemGrid::HowManyCanFit(). (diff)
downloadcuberite-dd60f55bccd603650906d5025f689a82d00b3718.tar
cuberite-dd60f55bccd603650906d5025f689a82d00b3718.tar.gz
cuberite-dd60f55bccd603650906d5025f689a82d00b3718.tar.bz2
cuberite-dd60f55bccd603650906d5025f689a82d00b3718.tar.lz
cuberite-dd60f55bccd603650906d5025f689a82d00b3718.tar.xz
cuberite-dd60f55bccd603650906d5025f689a82d00b3718.tar.zst
cuberite-dd60f55bccd603650906d5025f689a82d00b3718.zip
Diffstat (limited to 'source/Plugin.h')
-rw-r--r--source/Plugin.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/Plugin.h b/source/Plugin.h
index de8835838..d7d91eafc 100644
--- a/source/Plugin.h
+++ b/source/Plugin.h
@@ -61,6 +61,8 @@ public:
virtual bool OnExploded (cWorld & a_World, double a_ExplosionSize, bool a_CanCauseFire, double a_X, double a_Y, double a_Z, eExplosionSource a_Source, void * a_SourceData) = 0;
virtual bool OnExploding (cWorld & a_World, double & a_ExplosionSize, bool & a_CanCauseFire, double a_X, double a_Y, double a_Z, eExplosionSource a_Source, void * a_SourceData) = 0;
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 OnKilling (cEntity & a_Victim, cEntity * a_Killer) = 0;
virtual bool OnLogin (cClientHandle * a_Client, int a_ProtocolVersion, const AString & a_Username) = 0;
virtual bool OnPlayerAnimation (cPlayer & a_Player, int a_Animation) = 0;