diff options
author | Mattes D <github@xoft.cz> | 2015-07-31 16:49:10 +0200 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-07-31 16:49:10 +0200 |
commit | 6e4122e551eeb41d3e950b363dd837d5586fe560 (patch) | |
tree | b5ee221d8a8e63c7d3b7868da1db19bf717a6ffd /src/ChunkSender.cpp | |
parent | Merge pull request #2400 from cuberite/OffloadBadChunks (diff) | |
download | cuberite-6e4122e551eeb41d3e950b363dd837d5586fe560.tar cuberite-6e4122e551eeb41d3e950b363dd837d5586fe560.tar.gz cuberite-6e4122e551eeb41d3e950b363dd837d5586fe560.tar.bz2 cuberite-6e4122e551eeb41d3e950b363dd837d5586fe560.tar.lz cuberite-6e4122e551eeb41d3e950b363dd837d5586fe560.tar.xz cuberite-6e4122e551eeb41d3e950b363dd837d5586fe560.tar.zst cuberite-6e4122e551eeb41d3e950b363dd837d5586fe560.zip |
Diffstat (limited to 'src/ChunkSender.cpp')
-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"), |