diff options
author | madmaxoft <github@xoft.cz> | 2014-06-13 12:47:01 +0200 |
---|---|---|
committer | archshift <admin@archshift.com> | 2014-06-17 20:39:22 +0200 |
commit | fa1d85feca6beee9e07cf92f015a883a190c726a (patch) | |
tree | ebbd3fad6e4de32e892277edce26d5e5a9c7192e /src/Bindings/PluginLua.h | |
parent | Entity Effects: Clarified user, added it to AddEntityEffect (diff) | |
download | cuberite-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 '')
-rw-r--r-- | src/Bindings/PluginLua.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Bindings/PluginLua.h b/src/Bindings/PluginLua.h index 598e031c0..d0dcfb011 100644 --- a/src/Bindings/PluginLua.h +++ b/src/Bindings/PluginLua.h @@ -80,6 +80,7 @@ public: virtual bool OnCollectingPickup (cPlayer * a_Player, cPickup * a_Pickup) override; virtual bool OnCraftingNoRecipe (const cPlayer * a_Player, const cCraftingGrid * a_Grid, cCraftingRecipe * a_Recipe) override; virtual bool OnDisconnect (cClientHandle & a_Client, const AString & a_Reason) override; + virtual bool OnEntityAddEffect (cEntity & a_Entity, int a_EffectType, int a_EffectDurationTicks, int a_EffectIntensity, cEntity * a_Originator, double a_DistanceModifier) override; virtual bool OnExecuteCommand (cPlayer * a_Player, const AStringVector & a_Split) override; 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) override; 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) override; |