diff options
author | STRWarrior <niels.breuker@hotmail.nl> | 2013-12-15 10:51:46 +0100 |
---|---|---|
committer | STRWarrior <niels.breuker@hotmail.nl> | 2013-12-15 10:51:46 +0100 |
commit | c56af9a214fad89b5d6e119fa830cbdc6c6f5456 (patch) | |
tree | a352db7c045e11e45a4420897b3eebeda58f88a2 /src/ChunkMap.h | |
parent | Merge pull request #431 from mc-server/Entity_Effects (diff) | |
download | cuberite-c56af9a214fad89b5d6e119fa830cbdc6c6f5456.tar cuberite-c56af9a214fad89b5d6e119fa830cbdc6c6f5456.tar.gz cuberite-c56af9a214fad89b5d6e119fa830cbdc6c6f5456.tar.bz2 cuberite-c56af9a214fad89b5d6e119fa830cbdc6c6f5456.tar.lz cuberite-c56af9a214fad89b5d6e119fa830cbdc6c6f5456.tar.xz cuberite-c56af9a214fad89b5d6e119fa830cbdc6c6f5456.tar.zst cuberite-c56af9a214fad89b5d6e119fa830cbdc6c6f5456.zip |
Diffstat (limited to 'src/ChunkMap.h')
-rw-r--r-- | src/ChunkMap.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ChunkMap.h b/src/ChunkMap.h index f079c9a1b..dcc6abdc3 100644 --- a/src/ChunkMap.h +++ b/src/ChunkMap.h @@ -64,6 +64,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); @@ -73,6 +74,7 @@ public: void BroadcastEntityStatus(const cEntity & a_Entity, char a_Status, const cClientHandle * a_Exclude = NULL); 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 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); // 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); void BroadcastSpawnEntity(cEntity & a_Entity, const cClientHandle * a_Exclude = NULL); |