summaryrefslogtreecommitdiffstats
path: root/src/World.h
diff options
context:
space:
mode:
authorMattes D <github@xoft.cz>2013-12-15 13:42:15 +0100
committerMattes D <github@xoft.cz>2013-12-15 13:42:15 +0100
commit4f92f18a8d97c749d25754a528cea2cc7a90dcf2 (patch)
treec2135e33e7ab30a548dcaac99e7f2cafc8bb2c4c /src/World.h
parentFixed pre 1.7 clients crashing. (diff)
parentcPlayer is using the broadcast functions. (diff)
downloadcuberite-4f92f18a8d97c749d25754a528cea2cc7a90dcf2.tar
cuberite-4f92f18a8d97c749d25754a528cea2cc7a90dcf2.tar.gz
cuberite-4f92f18a8d97c749d25754a528cea2cc7a90dcf2.tar.bz2
cuberite-4f92f18a8d97c749d25754a528cea2cc7a90dcf2.tar.lz
cuberite-4f92f18a8d97c749d25754a528cea2cc7a90dcf2.tar.xz
cuberite-4f92f18a8d97c749d25754a528cea2cc7a90dcf2.tar.zst
cuberite-4f92f18a8d97c749d25754a528cea2cc7a90dcf2.zip
Diffstat (limited to 'src/World.h')
-rw-r--r--src/World.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/World.h b/src/World.h
index 5cd8b41b6..16d7f5146 100644
--- a/src/World.h
+++ b/src/World.h
@@ -153,6 +153,7 @@ public:
void BroadcastChunkData (int a_ChunkX, int a_ChunkZ, cChunkDataSerializer & a_Serializer, const cClientHandle * a_Exclude = NULL);
void BroadcastCollectPickup (const cPickup & a_Pickup, const cPlayer & a_Player, const cClientHandle * a_Exclude = NULL);
void BroadcastDestroyEntity (const cEntity & a_Entity, const cClientHandle * a_Exclude = NULL);
+ void BroadcastEntityEffect (const cEntity & a_Entity, int a_EffectID, int a_Amplifier, short a_Duration, const cClientHandle * a_Exclude = NULL);
void BroadcastEntityEquipment (const cEntity & a_Entity, short a_SlotNum, const cItem & a_Item, const cClientHandle * a_Exclude = NULL);
void BroadcastEntityHeadLook (const cEntity & a_Entity, const cClientHandle * a_Exclude = NULL);
void BroadcastEntityLook (const cEntity & a_Entity, const cClientHandle * a_Exclude = NULL);
@@ -163,6 +164,7 @@ public:
void BroadcastEntityVelocity (const cEntity & a_Entity, const cClientHandle * a_Exclude = NULL);
void BroadcastEntityAnimation (const cEntity & a_Entity, char a_Animation, const cClientHandle * a_Exclude = NULL);
void BroadcastPlayerListItem (const cPlayer & a_Player, bool a_IsOnline, const cClientHandle * a_Exclude = NULL);
+ void BroadcastRemoveEntityEffect (const cEntity & a_Entity, int a_EffectID, const cClientHandle * a_Exclude = NULL);
void BroadcastSoundEffect (const AString & a_SoundName, int a_SrcX, int a_SrcY, int a_SrcZ, float a_Volume, float a_Pitch, const cClientHandle * a_Exclude = NULL); // tolua_export a_Src coords are Block * 8
void BroadcastSoundParticleEffect(int a_EffectID, int a_SrcX, int a_SrcY, int a_SrcZ, int a_Data, const cClientHandle * a_Exclude = NULL); // tolua_export
void BroadcastSpawnEntity (cEntity & a_Entity, const cClientHandle * a_Exclude = NULL);