Cuberite
A lightweight, fast and extensible game server for Minecraft
|
Contains the data for a loaded / generated chunk, ready to be set into a cWorld. More...
#include <SetChunkData.h>
Public Member Functions | |
SetChunkData (const cChunkCoords a_Chunk) | |
Initialise the structure with chunk coordinates. More... | |
void | UpdateHeightMap () |
Recalculates the HeightMap based on BlockData contents. More... | |
Public Attributes | |
cChunkDef::BiomeMap | BiomeMap |
ChunkBlockData | BlockData |
cBlockEntities | BlockEntities |
cChunkCoords | Chunk |
cEntityList | Entities |
cChunkDef::HeightMap | HeightMap |
bool | IsLightValid |
ChunkLightData | LightData |
Contains the data for a loaded / generated chunk, ready to be set into a cWorld.
Definition at line 11 of file SetChunkData.h.
|
inline |
Initialise the structure with chunk coordinates.
The caller is responsible for initialising the remaining members.
Definition at line 15 of file SetChunkData.h.
void SetChunkData::UpdateHeightMap | ( | ) |
Recalculates the HeightMap based on BlockData contents.
Definition at line 10 of file SetChunkData.cpp.
cChunkDef::BiomeMap SetChunkData::BiomeMap |
Definition at line 25 of file SetChunkData.h.
ChunkBlockData SetChunkData::BlockData |
Definition at line 22 of file SetChunkData.h.
cBlockEntities SetChunkData::BlockEntities |
Definition at line 29 of file SetChunkData.h.
cChunkCoords SetChunkData::Chunk |
Definition at line 20 of file SetChunkData.h.
cEntityList SetChunkData::Entities |
Definition at line 28 of file SetChunkData.h.
cChunkDef::HeightMap SetChunkData::HeightMap |
Definition at line 26 of file SetChunkData.h.
bool SetChunkData::IsLightValid |
Definition at line 31 of file SetChunkData.h.
ChunkLightData SetChunkData::LightData |
Definition at line 23 of file SetChunkData.h.