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

Chunk data callback that takes the chunk data and puts them into cLightingThread's m_BlockTypes[] / m_HeightMap[]: More...

Inheritance diagram for cReader:
Inheritance graph
[legend]
Collaboration diagram for cReader:
Collaboration graph
[legend]

Public Member Functions

 cReader (BLOCKTYPE *a_BlockTypes, HEIGHTTYPE *a_HeightMap)
 

Public Attributes

BLOCKTYPEm_BlockTypes
 
HEIGHTTYPEm_HeightMap
 
HEIGHTTYPE m_MaxHeight
 
int m_ReadingChunkX
 
int m_ReadingChunkZ
 

Private Member Functions

virtual void ChunkData (const ChunkBlockData &a_BlockData, const ChunkLightData &) override
 
virtual void HeightMap (const cChunkDef::HeightMap &a_Heightmap) override
 

Detailed Description

Chunk data callback that takes the chunk data and puts them into cLightingThread's m_BlockTypes[] / m_HeightMap[]:

Definition at line 17 of file LightingThread.cpp.

Constructor & Destructor Documentation

◆ cReader()

cReader::cReader ( BLOCKTYPE a_BlockTypes,
HEIGHTTYPE a_HeightMap 
)
inline

Definition at line 84 of file LightingThread.cpp.

Member Function Documentation

◆ ChunkData()

virtual void cReader::ChunkData ( const ChunkBlockData a_BlockData,
const ChunkLightData  
)
inlineoverrideprivatevirtual

Definition at line 20 of file LightingThread.cpp.

◆ HeightMap()

virtual void cReader::HeightMap ( const cChunkDef::HeightMap &  a_Heightmap)
inlineoverrideprivatevirtual

Definition at line 51 of file LightingThread.cpp.

Member Data Documentation

◆ m_BlockTypes

BLOCKTYPE* cReader::m_BlockTypes

Definition at line 81 of file LightingThread.cpp.

◆ m_HeightMap

HEIGHTTYPE* cReader::m_HeightMap

Definition at line 82 of file LightingThread.cpp.

◆ m_MaxHeight

HEIGHTTYPE cReader::m_MaxHeight

Definition at line 80 of file LightingThread.cpp.

◆ m_ReadingChunkX

int cReader::m_ReadingChunkX

Definition at line 78 of file LightingThread.cpp.

◆ m_ReadingChunkZ

int cReader::m_ReadingChunkZ

Definition at line 79 of file LightingThread.cpp.


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