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

#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

Definition at line 55 of file ChunkDef.h.

Constructor & Destructor Documentation

◆ cChunkCoords()

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

Definition at line 61 of file ChunkDef.h.

Member Function Documentation

◆ operator!=()

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

Definition at line 70 of file ChunkDef.h.

◆ operator<()

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

Simple comparison, to support ordering.

Definition at line 77 of file ChunkDef.h.

◆ operator==()

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

Definition at line 64 of file ChunkDef.h.

◆ ToString()

AString cChunkCoords::ToString ( ) const
inline

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

Definition at line 91 of file ChunkDef.h.

Member Data Documentation

◆ m_ChunkX

int cChunkCoords::m_ChunkX

Definition at line 58 of file ChunkDef.h.

◆ m_ChunkZ

int cChunkCoords::m_ChunkZ

Definition at line 59 of file ChunkDef.h.


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