summaryrefslogtreecommitdiffstats
path: root/source/cChunkMap.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-08-26 23:01:07 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-08-26 23:01:07 +0200
commitd97ad781b4ea1998b9819f139c7ab7806161042e (patch)
tree84f8b2e37bb141b7ef57e34385ab0be7b7dc60d2 /source/cChunkMap.h
parentTurned a common assert into a warning log (diff)
downloadcuberite-d97ad781b4ea1998b9819f139c7ab7806161042e.tar
cuberite-d97ad781b4ea1998b9819f139c7ab7806161042e.tar.gz
cuberite-d97ad781b4ea1998b9819f139c7ab7806161042e.tar.bz2
cuberite-d97ad781b4ea1998b9819f139c7ab7806161042e.tar.lz
cuberite-d97ad781b4ea1998b9819f139c7ab7806161042e.tar.xz
cuberite-d97ad781b4ea1998b9819f139c7ab7806161042e.tar.zst
cuberite-d97ad781b4ea1998b9819f139c7ab7806161042e.zip
Diffstat (limited to '')
-rw-r--r--source/cChunkMap.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/cChunkMap.h b/source/cChunkMap.h
index 95591c5b6..3af00b13d 100644
--- a/source/cChunkMap.h
+++ b/source/cChunkMap.h
@@ -22,6 +22,7 @@ class cChestEntity;
class cFurnaceEntity;
class cPawn;
class cPickup;
+class cChunkDataSerializer;
typedef std::list<cClientHandle *> cClientHandleList;
typedef cChunk * cChunkPtr;
@@ -81,6 +82,8 @@ public:
void BroadcastCollectPickup(const cPickup & a_Pickup, const cPlayer & a_Player, const cClientHandle * a_Exclude = NULL);
void BroadcastThunderbolt(int a_BlockX, int a_BlockY, int a_BlockZ, const cClientHandle * a_Exclude = NULL);
+
+ void BroadcastChunkData(int a_ChunkX, int a_ChunkZ, cChunkDataSerializer & a_Serializer, const cClientHandle * a_Exclude = NULL);
/// Broadcasts the block entity, if it is at the coords specified, to all clients except a_Exclude
void BroadcastBlockEntity(int a_BlockX, int a_BlockY, int a_BlockZ, const cClientHandle * a_Exclude);