Cuberite
A lightweight, fast and extensible game server for Minecraft
Public Member Functions | Public Attributes | List of all members
cCoordWithData< X > Class Template Reference

Generic template that can store any kind of data together with a triplet of 3 coords. More...

#include <ChunkDef.h>

Public Member Functions

 cCoordWithData (int a_X, int a_Y, int a_Z)
 
 cCoordWithData (int a_X, int a_Y, int a_Z, const X &a_Data)
 

Public Attributes

Data
 
int x
 
int y
 
int z
 

Detailed Description

template<typename X>
class cCoordWithData< X >

Generic template that can store any kind of data together with a triplet of 3 coords.

Definition at line 481 of file ChunkDef.h.

Constructor & Destructor Documentation

◆ cCoordWithData() [1/2]

template<typename X >
cCoordWithData< X >::cCoordWithData ( int  a_X,
int  a_Y,
int  a_Z 
)
inline

Definition at line 489 of file ChunkDef.h.

◆ cCoordWithData() [2/2]

template<typename X >
cCoordWithData< X >::cCoordWithData ( int  a_X,
int  a_Y,
int  a_Z,
const X &  a_Data 
)
inline

Definition at line 494 of file ChunkDef.h.

Member Data Documentation

◆ Data

template<typename X >
X cCoordWithData< X >::Data

Definition at line 487 of file ChunkDef.h.

◆ x

template<typename X >
int cCoordWithData< X >::x

Definition at line 484 of file ChunkDef.h.

◆ y

template<typename X >
int cCoordWithData< X >::y

Definition at line 485 of file ChunkDef.h.

◆ z

template<typename X >
int cCoordWithData< X >::z

Definition at line 486 of file ChunkDef.h.


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