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/ClientHandle.cpp | |
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/ClientHandle.cpp')
-rw-r--r-- | src/ClientHandle.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp index f7e18974f..8a92e1344 100644 --- a/src/ClientHandle.cpp +++ b/src/ClientHandle.cpp @@ -1673,6 +1673,15 @@ void cClientHandle::SendEditSign(int a_BlockX, int a_BlockY, int a_BlockZ) +void cClientHandle::SendEntityEffect(const cEntity & a_Entity, int a_EffectID, int a_Amplifier, short a_Duration) +{ + m_Protocol->SendEntityEffect(a_Entity, a_EffectID, a_Amplifier, a_Duration); +} + + + + + void cClientHandle::SendEntityEquipment(const cEntity & a_Entity, short a_SlotNum, const cItem & a_Item) { m_Protocol->SendEntityEquipment(a_Entity, a_SlotNum, a_Item); @@ -1882,6 +1891,15 @@ void cClientHandle::SendPlayerSpawn(const cPlayer & a_Player) +void cClientHandle::SendRemoveEntityEffect(const cEntity & a_Entity, int a_EffectID) +{ + m_Protocol->SendRemoveEntityEffect(a_Entity, a_EffectID); +} + + + + + void cClientHandle::SendRespawn(void) { m_Protocol->SendRespawn(); |