Cuberite
A lightweight, fast and extensible game server for Minecraft
Public Member Functions | Public Attributes | List of all members
cChunkCoords Class Reference

Wraps the chunk coords into a single structure. More...

#include <ChunkDef.h>

Public Member Functions

 cChunkCoords (int a_ChunkX, int a_ChunkZ)
 
bool operator!= (const cChunkCoords &a_Other) const
 
bool operator< (const cChunkCoords &a_Other) const
 Simple comparison, to support ordering. More...
 
bool operator== (const cChunkCoords &a_Other) const
 
AString ToString () const
 Returns a string that describes the chunk coords, suitable for logging. More...
 

Public Attributes

int m_ChunkX
 
int m_ChunkZ
 

Detailed Description

Wraps the chunk coords into a single structure.

Definition at line 56 of file ChunkDef.h.

Constructor & Destructor Documentation

◆ cChunkCoords()

cChunkCoords::cChunkCoords ( int  a_ChunkX,
int  a_ChunkZ 
)
inline

Definition at line 62 of file ChunkDef.h.

Member Function Documentation

◆ operator!=()

bool cChunkCoords::operator!= ( const cChunkCoords a_Other) const
inline

Definition at line 71 of file ChunkDef.h.

◆ operator<()

bool cChunkCoords::operator< ( const cChunkCoords a_Other) const
inline

Simple comparison, to support ordering.

Definition at line 78 of file ChunkDef.h.

◆ operator==()

bool cChunkCoords::operator== ( const cChunkCoords a_Other) const
inline

Definition at line 65 of file ChunkDef.h.

◆ ToString()

AString cChunkCoords::ToString ( ) const
inline

Returns a string that describes the chunk coords, suitable for logging.

Definition at line 92 of file ChunkDef.h.

Member Data Documentation

◆ m_ChunkX

int cChunkCoords::m_ChunkX

Definition at line 59 of file ChunkDef.h.

◆ m_ChunkZ

int cChunkCoords::m_ChunkZ

Definition at line 60 of file ChunkDef.h.


The documentation for this class was generated from the following file: