diff options
author | Julian Laubstein <julianlaubstein@yahoo.de> | 2015-07-31 19:26:33 +0200 |
---|---|---|
committer | Julian Laubstein <julianlaubstein@yahoo.de> | 2015-07-31 19:26:33 +0200 |
commit | d19cde93fa3344f318fb0d4ffbf5bb0397a51a75 (patch) | |
tree | b5ee221d8a8e63c7d3b7868da1db19bf717a6ffd /src/ChunkSender.cpp | |
parent | Merge pull request #2400 from cuberite/OffloadBadChunks (diff) | |
parent | Unified the doxy-comment format. (diff) | |
download | cuberite-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.cpp | 17 |
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"), |