summaryrefslogtreecommitdiffstats
path: root/src/ClientHandle.h
diff options
context:
space:
mode:
authorSTRWarrior <niels.breuker@hotmail.nl>2013-12-14 18:19:56 +0100
committerSTRWarrior <niels.breuker@hotmail.nl>2013-12-14 18:19:56 +0100
commit123799a4e077298907905ab090fd01f532f7d1ef (patch)
tree45bb978732f6f65b27620a43ae02dc564f9f56d6 /src/ClientHandle.h
parentAdded SendEntityEffect and SendRemoveEntityEffect. Also a Player now gets the hunger effect when he has food poison. (diff)
downloadcuberite-123799a4e077298907905ab090fd01f532f7d1ef.tar
cuberite-123799a4e077298907905ab090fd01f532f7d1ef.tar.gz
cuberite-123799a4e077298907905ab090fd01f532f7d1ef.tar.bz2
cuberite-123799a4e077298907905ab090fd01f532f7d1ef.tar.lz
cuberite-123799a4e077298907905ab090fd01f532f7d1ef.tar.xz
cuberite-123799a4e077298907905ab090fd01f532f7d1ef.tar.zst
cuberite-123799a4e077298907905ab090fd01f532f7d1ef.zip
Diffstat (limited to 'src/ClientHandle.h')
-rw-r--r--src/ClientHandle.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ClientHandle.h b/src/ClientHandle.h
index 2ff75b28a..19ebc023d 100644
--- a/src/ClientHandle.h
+++ b/src/ClientHandle.h
@@ -100,6 +100,7 @@ public:
void SendDestroyEntity (const cEntity & a_Entity);
void SendDisconnect (const AString & a_Reason);
void SendEditSign (int a_BlockX, int a_BlockY, int a_BlockZ);
+ void SendEntityEffect (const cEntity & a_Entity, int a_EffectID, int a_Amplifier, short a_Duration);
void SendEntityEquipment (const cEntity & a_Entity, short a_SlotNum, const cItem & a_Item);
void SendEntityHeadLook (const cEntity & a_Entity);
void SendEntityLook (const cEntity & a_Entity);
@@ -120,6 +121,7 @@ public:
void SendPlayerMoveLook (void);
void SendPlayerPosition (void);
void SendPlayerSpawn (const cPlayer & a_Player);
+ void SendRemoveEntityEffect (const cEntity & a_Entity, int a_EffectID);
void SendRespawn (void);
void SendExperience (void);
void SendExperienceOrb (const cExpOrb & a_ExpOrb);