diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-09-25 11:54:36 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-09-25 11:54:36 +0200 |
commit | fb9a00a64ed69d22a1c181bb0b3af99f8686c4dd (patch) | |
tree | 1529d406bbbc97b1f1da6e2d0d1cccc7f1be5d9c /source/World.h | |
parent | Sockets are now owned by SocketThreads instead of ClientHandle (FS #246 and FS #247) (diff) | |
download | cuberite-fb9a00a64ed69d22a1c181bb0b3af99f8686c4dd.tar cuberite-fb9a00a64ed69d22a1c181bb0b3af99f8686c4dd.tar.gz cuberite-fb9a00a64ed69d22a1c181bb0b3af99f8686c4dd.tar.bz2 cuberite-fb9a00a64ed69d22a1c181bb0b3af99f8686c4dd.tar.lz cuberite-fb9a00a64ed69d22a1c181bb0b3af99f8686c4dd.tar.xz cuberite-fb9a00a64ed69d22a1c181bb0b3af99f8686c4dd.tar.zst cuberite-fb9a00a64ed69d22a1c181bb0b3af99f8686c4dd.zip |
Diffstat (limited to '')
-rw-r--r-- | source/World.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/World.h b/source/World.h index 1cbd6a2fb..f688efebf 100644 --- a/source/World.h +++ b/source/World.h @@ -93,7 +93,8 @@ public: void BroadcastChunkData (int a_ChunkX, int a_ChunkZ, cChunkDataSerializer & a_Serializer, const cClientHandle * a_Exclude = NULL); void BroadcastPlayerListItem (const cPlayer & a_Player, bool a_IsOnline, 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 BroadcastBlockBreakAnimation(int a_entityID, int a_blockX, int a_blockY, int a_blockZ, char a_stage, const cClientHandle * a_Exclude = NULL); + /// If there is a block entity at the specified coods, sends it to all clients except a_Exclude void BroadcastBlockEntity (int a_BlockX, int a_BlockY, int a_BlockZ, const cClientHandle * a_Exclude = NULL); |