diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-08-26 23:01:07 +0200 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-08-26 23:01:07 +0200 |
commit | d97ad781b4ea1998b9819f139c7ab7806161042e (patch) | |
tree | 84f8b2e37bb141b7ef57e34385ab0be7b7dc60d2 /source/cChunk.h | |
parent | Turned a common assert into a warning log (diff) | |
download | cuberite-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/cChunk.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/source/cChunk.h b/source/cChunk.h index 714a14455..9539b20d5 100644 --- a/source/cChunk.h +++ b/source/cChunk.h @@ -43,6 +43,7 @@ class cFurnaceEntity; class cBlockArea; class cPawn; class cPickup; +class cChunkDataSerializer; typedef std::list<cClientHandle *> cClientHandleList; typedef cItemCallback<cEntity> cEntityCallback; @@ -191,6 +192,7 @@ public: void BroadcastBlockEntity (int a_BlockX, int a_BlockY, int a_BlockZ, const cClientHandle * a_Exclude = NULL); 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 (cChunkDataSerializer & a_Serializer, const cClientHandle * a_Exclude = NULL); void SendBlockEntity (int a_BlockX, int a_BlockY, int a_BlockZ, cClientHandle & a_Client); |