diff options
author | Mattes D <github@xoft.cz> | 2013-12-14 23:40:24 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2013-12-14 23:40:24 +0100 |
commit | 5e6a4c99a7509e480e4c2b31d66044ec1fa44559 (patch) | |
tree | 9815ee7865a445f45a31485225649f5e977ef339 /src/Protocol/Protocol17x.h | |
parent | Added tolua++ redirection include. (diff) | |
parent | Exported E_EFFECTS_<Effect> to lua. Forgot to commit Globals.h. (diff) | |
download | cuberite-5e6a4c99a7509e480e4c2b31d66044ec1fa44559.tar cuberite-5e6a4c99a7509e480e4c2b31d66044ec1fa44559.tar.gz cuberite-5e6a4c99a7509e480e4c2b31d66044ec1fa44559.tar.bz2 cuberite-5e6a4c99a7509e480e4c2b31d66044ec1fa44559.tar.lz cuberite-5e6a4c99a7509e480e4c2b31d66044ec1fa44559.tar.xz cuberite-5e6a4c99a7509e480e4c2b31d66044ec1fa44559.tar.zst cuberite-5e6a4c99a7509e480e4c2b31d66044ec1fa44559.zip |
Diffstat (limited to 'src/Protocol/Protocol17x.h')
-rw-r--r-- | src/Protocol/Protocol17x.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Protocol/Protocol17x.h b/src/Protocol/Protocol17x.h index b8c91fbeb..4a91f0e56 100644 --- a/src/Protocol/Protocol17x.h +++ b/src/Protocol/Protocol17x.h @@ -47,6 +47,7 @@ public: virtual void SendDestroyEntity (const cEntity & a_Entity) override; virtual void SendDisconnect (const AString & a_Reason) override; virtual void SendEditSign (int a_BlockX, int a_BlockY, int a_BlockZ) override; ///< Request the client to open up the sign editor for the sign (1.6+) + virtual void SendEntityEffect (const cEntity & a_Entity, int a_EffectID, int a_Amplifier, short a_Duration) override; virtual void SendEntityEquipment (const cEntity & a_Entity, short a_SlotNum, const cItem & a_Item) override; virtual void SendEntityHeadLook (const cEntity & a_Entity) override; virtual void SendEntityLook (const cEntity & a_Entity) override; @@ -70,6 +71,7 @@ public: virtual void SendPlayerMoveLook (void) override; virtual void SendPlayerPosition (void) override; virtual void SendPlayerSpawn (const cPlayer & a_Player) override; + virtual void SendRemoveEntityEffect (const cEntity & a_Entity, int a_EffectID) override; virtual void SendRespawn (void) override; virtual void SendSoundEffect (const AString & a_SoundName, int a_SrcX, int a_SrcY, int a_SrcZ, float a_Volume, float a_Pitch) override; // a_Src coords are Block * 8 virtual void SendExperience (void) override; |