diff options
author | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-03-11 11:48:20 +0100 |
---|---|---|
committer | madmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2012-03-11 11:48:20 +0100 |
commit | af44154ff57ee725903d58c94cbba12413ddeb41 (patch) | |
tree | 688bb37acf3c9795266e3f6513e39056808128a3 /source/ChunkSender.h | |
parent | Anvil format: fixed loading with XZY ordering (diff) | |
download | cuberite-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.h | 10 |
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;
|