summaryrefslogtreecommitdiffstats
path: root/source/ChunkSender.h
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-11 11:48:20 +0100
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-03-11 11:48:20 +0100
commitaf44154ff57ee725903d58c94cbba12413ddeb41 (patch)
tree688bb37acf3c9795266e3f6513e39056808128a3 /source/ChunkSender.h
parentAnvil format: fixed loading with XZY ordering (diff)
downloadcuberite-af44154ff57ee725903d58c94cbba12413ddeb41.tar
cuberite-af44154ff57ee725903d58c94cbba12413ddeb41.tar.gz
cuberite-af44154ff57ee725903d58c94cbba12413ddeb41.tar.bz2
cuberite-af44154ff57ee725903d58c94cbba12413ddeb41.tar.lz
cuberite-af44154ff57ee725903d58c94cbba12413ddeb41.tar.xz
cuberite-af44154ff57ee725903d58c94cbba12413ddeb41.tar.zst
cuberite-af44154ff57ee725903d58c94cbba12413ddeb41.zip
Diffstat (limited to 'source/ChunkSender.h')
-rw-r--r--source/ChunkSender.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/source/ChunkSender.h b/source/ChunkSender.h
index b2ada5a09..23cce039b 100644
--- a/source/ChunkSender.h
+++ b/source/ChunkSender.h
@@ -77,6 +77,16 @@ protected:
m_Client(a_Client)
{
}
+
+ bool operator ==(const sSendChunk & a_Other)
+ {
+ return (
+ (a_Other.m_ChunkX == m_ChunkX) &&
+ (a_Other.m_ChunkY == m_ChunkY) &&
+ (a_Other.m_ChunkZ == m_ChunkZ) &&
+ (a_Other.m_Client == m_Client)
+ );
+ }
};
typedef std::list<sSendChunk> sSendChunkList;