diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-03-06 15:52:44 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-03-06 15:52:44 +0100 |
commit | 8cdd63f06c692f117088909ea5c9b950bba34376 (patch) | |
tree | f07924d43ede604c6a5fe30df5914c68a8f7f1dc /source/cWorld.cpp | |
parent | Fixed bug FS#157 http://mc-server.org/support/index.php?do=details&task_id=157 (diff) | |
download | cuberite-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 'source/cWorld.cpp')
-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 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);
|