diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-08-19 13:51:17 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-08-19 13:51:17 +0200 |
commit | eb3ed1aec1fb9e4468a7829cabd42572b7554d70 (patch) | |
tree | 4b5f428bf612785af8c306ba40f46c66fe0681a0 /source/cWorld.cpp | |
parent | Fixed Bug #236 (diff) | |
download | cuberite-eb3ed1aec1fb9e4468a7829cabd42572b7554d70.tar cuberite-eb3ed1aec1fb9e4468a7829cabd42572b7554d70.tar.gz cuberite-eb3ed1aec1fb9e4468a7829cabd42572b7554d70.tar.bz2 cuberite-eb3ed1aec1fb9e4468a7829cabd42572b7554d70.tar.lz cuberite-eb3ed1aec1fb9e4468a7829cabd42572b7554d70.tar.xz cuberite-eb3ed1aec1fb9e4468a7829cabd42572b7554d70.tar.zst cuberite-eb3ed1aec1fb9e4468a7829cabd42572b7554d70.zip |
Diffstat (limited to '')
-rw-r--r-- | source/cWorld.cpp | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/source/cWorld.cpp b/source/cWorld.cpp index 3c1da9945..6b2bb971d 100644 --- a/source/cWorld.cpp +++ b/source/cWorld.cpp @@ -1282,6 +1282,24 @@ void cWorld::BroadcastChat(const AString & a_Message, const cClientHandle * a_Ex +void cWorld::BroadcastPlayerAnimation(const cPlayer & a_Player, char a_Animation, const cClientHandle * a_Exclude) +{ + m_ChunkMap->BroadcastPlayerAnimation(a_Player, a_Animation, a_Exclude); +} + + + + + +void cWorld::BroadcastEntityEquipment(const cEntity & a_Entity, short a_SlotNum, const cItem & a_Item, const cClientHandle * a_Exclude) +{ + m_ChunkMap->BroadcastEntityEquipment(a_Entity, a_SlotNum, a_Item, a_Exclude); +} + + + + + void cWorld::MarkChunkDirty (int a_ChunkX, int a_ChunkY, int a_ChunkZ) { m_ChunkMap->MarkChunkDirty (a_ChunkX, a_ChunkY, a_ChunkZ); |