summaryrefslogtreecommitdiffstats
path: root/src/ChunkSender.cpp
diff options
context:
space:
mode:
authorJulian Laubstein <julianlaubstein@yahoo.de>2015-07-31 19:26:33 +0200
committerJulian Laubstein <julianlaubstein@yahoo.de>2015-07-31 19:26:33 +0200
commitd19cde93fa3344f318fb0d4ffbf5bb0397a51a75 (patch)
treeb5ee221d8a8e63c7d3b7868da1db19bf717a6ffd /src/ChunkSender.cpp
parentMerge pull request #2400 from cuberite/OffloadBadChunks (diff)
parentUnified the doxy-comment format. (diff)
downloadcuberite-d19cde93fa3344f318fb0d4ffbf5bb0397a51a75.tar
cuberite-d19cde93fa3344f318fb0d4ffbf5bb0397a51a75.tar.gz
cuberite-d19cde93fa3344f318fb0d4ffbf5bb0397a51a75.tar.bz2
cuberite-d19cde93fa3344f318fb0d4ffbf5bb0397a51a75.tar.lz
cuberite-d19cde93fa3344f318fb0d4ffbf5bb0397a51a75.tar.xz
cuberite-d19cde93fa3344f318fb0d4ffbf5bb0397a51a75.tar.zst
cuberite-d19cde93fa3344f318fb0d4ffbf5bb0397a51a75.zip
Diffstat (limited to '')
-rw-r--r--src/ChunkSender.cpp17
1 files changed, 14 insertions, 3 deletions
diff --git a/src/ChunkSender.cpp b/src/ChunkSender.cpp
index de886b497..674291c73 100644
--- a/src/ChunkSender.cpp
+++ b/src/ChunkSender.cpp
@@ -23,7 +23,7 @@
// cNotifyChunkSender:
-/// Callback that can be used to notify chunk sender upon another chunkcoord notification
+/** Callback that can be used to notify chunk sender upon another chunkcoord notification */
class cNotifyChunkSender :
public cChunkCoordCallback
{
@@ -43,11 +43,22 @@ class cNotifyChunkSender :
cChunkSender & m_ChunkSender;
cWorld & m_World;
+
public:
- cNotifyChunkSender(cChunkSender & a_ChunkSender, cWorld & a_World) : m_ChunkSender(a_ChunkSender), m_World(a_World) {}
+ cNotifyChunkSender(cChunkSender & a_ChunkSender, cWorld & a_World):
+ m_ChunkSender(a_ChunkSender),
+ m_World(a_World)
+ {
+ }
+};
-};
+
+
+
+
+////////////////////////////////////////////////////////////////////////////////
+// cChunkSender:
cChunkSender::cChunkSender(cWorld & a_World) :
super("ChunkSender"),