summaryrefslogtreecommitdiffstats
path: root/src/Bindings/Plugin.h
diff options
context:
space:
mode:
authormadmaxoft <github@xoft.cz>2014-06-13 12:47:01 +0200
committerarchshift <admin@archshift.com>2014-06-17 20:39:22 +0200
commitfa1d85feca6beee9e07cf92f015a883a190c726a (patch)
treeebbd3fad6e4de32e892277edce26d5e5a9c7192e /src/Bindings/Plugin.h
parentEntity Effects: Clarified user, added it to AddEntityEffect (diff)
downloadcuberite-fa1d85feca6beee9e07cf92f015a883a190c726a.tar
cuberite-fa1d85feca6beee9e07cf92f015a883a190c726a.tar.gz
cuberite-fa1d85feca6beee9e07cf92f015a883a190c726a.tar.bz2
cuberite-fa1d85feca6beee9e07cf92f015a883a190c726a.tar.lz
cuberite-fa1d85feca6beee9e07cf92f015a883a190c726a.tar.xz
cuberite-fa1d85feca6beee9e07cf92f015a883a190c726a.tar.zst
cuberite-fa1d85feca6beee9e07cf92f015a883a190c726a.zip
Diffstat (limited to 'src/Bindings/Plugin.h')
-rw-r--r--src/Bindings/Plugin.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Bindings/Plugin.h b/src/Bindings/Plugin.h
index c6461c861..2e02cba54 100644
--- a/src/Bindings/Plugin.h
+++ b/src/Bindings/Plugin.h
@@ -57,6 +57,7 @@ public:
virtual bool OnCollectingPickup (cPlayer * a_Player, cPickup * a_Pickup) = 0;
virtual bool OnCraftingNoRecipe (const cPlayer * a_Player, const cCraftingGrid * a_Grid, cCraftingRecipe * a_Recipe) = 0;
virtual bool OnDisconnect (cClientHandle & a_Client, const AString & a_Reason) = 0;
+ virtual bool OnEntityAddEffect (cEntity & a_Entity, int a_EffectType, int a_EffectDurationTicks, int a_EffectIntensity, cEntity * a_Originator, double a_DistanceModifier) = 0;
virtual bool OnExecuteCommand (cPlayer * a_Player, const AStringVector & a_Split) = 0;
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;