summaryrefslogtreecommitdiffstats
path: root/source/cWorld.cpp
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-06 15:52:44 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-06 15:52:44 +0100
commit8cdd63f06c692f117088909ea5c9b950bba34376 (patch)
treef07924d43ede604c6a5fe30df5914c68a8f7f1dc /source/cWorld.cpp
parentFixed bug FS#157 http://mc-server.org/support/index.php?do=details&task_id=157 (diff)
downloadcuberite-8cdd63f06c692f117088909ea5c9b950bba34376.tar
cuberite-8cdd63f06c692f117088909ea5c9b950bba34376.tar.gz
cuberite-8cdd63f06c692f117088909ea5c9b950bba34376.tar.bz2
cuberite-8cdd63f06c692f117088909ea5c9b950bba34376.tar.lz
cuberite-8cdd63f06c692f117088909ea5c9b950bba34376.tar.xz
cuberite-8cdd63f06c692f117088909ea5c9b950bba34376.tar.zst
cuberite-8cdd63f06c692f117088909ea5c9b950bba34376.zip
Diffstat (limited to '')
-rw-r--r--source/cWorld.cpp18
1 files changed, 18 insertions, 0 deletions
diff --git a/source/cWorld.cpp b/source/cWorld.cpp
index d74f6ea93..c5cdca03a 100644
--- a/source/cWorld.cpp
+++ b/source/cWorld.cpp
@@ -1292,6 +1292,24 @@ void cWorld::RemoveClientFromChunks(cClientHandle * a_Client, const cChunkCoords
+void cWorld::SendChunkTo(int a_ChunkX, int a_ChunkY, int a_ChunkZ, cClientHandle * a_Client)
+{
+ m_ChunkSender.QueueSendChunkTo(a_ChunkX, a_ChunkY, a_ChunkZ, a_Client);
+}
+
+
+
+
+
+void cWorld::RemoveClientFromChunkSender(cClientHandle * a_Client)
+{
+ m_ChunkSender.RemoveClient(a_Client);
+}
+
+
+
+
+
void cWorld::TouchChunk(int a_ChunkX, int a_ChunkY, int a_ChunkZ)
{
m_ChunkMap->TouchChunk(a_ChunkX, a_ChunkY, a_ChunkZ);