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

#include <BlockArea.h>

Inheritance diagram for cBlockArea::cChunkReader:
Inheritance graph
[legend]
Collaboration diagram for cBlockArea::cChunkReader:
Collaboration graph
[legend]

Public Member Functions

 cChunkReader (cBlockArea &a_Area)
 

Protected Member Functions

virtual void BlockEntity (cBlockEntity *a_BlockEntity) override
 
virtual void ChunkData (const ChunkBlockData &a_BlockData, const ChunkLightData &a_LightData) override
 
virtual bool Coords (int a_ChunkX, int a_ChunkZ) override
 
void CopyNibbles (NIBBLETYPE *a_AreaDst, const NIBBLETYPE *a_ChunkSrc)
 

Protected Attributes

cBlockAream_Area
 
cCuboid m_AreaBounds
 Bounds of the whole area being read, in world coords. More...
 
int m_CurrentChunkX
 
int m_CurrentChunkZ
 
Vector3i m_Origin
 

Detailed Description

Definition at line 435 of file BlockArea.h.

Constructor & Destructor Documentation

◆ cChunkReader()

cBlockArea::cChunkReader::cChunkReader ( cBlockArea a_Area)

Definition at line 2702 of file BlockArea.cpp.

Member Function Documentation

◆ BlockEntity()

void cBlockArea::cChunkReader::BlockEntity ( cBlockEntity a_BlockEntity)
overrideprotectedvirtual

Definition at line 2925 of file BlockArea.cpp.

◆ ChunkData()

void cBlockArea::cChunkReader::ChunkData ( const ChunkBlockData a_BlockData,
const ChunkLightData a_LightData 
)
overrideprotectedvirtual

Definition at line 2792 of file BlockArea.cpp.

◆ Coords()

bool cBlockArea::cChunkReader::Coords ( int  a_ChunkX,
int  a_ChunkZ 
)
overrideprotectedvirtual

Definition at line 2781 of file BlockArea.cpp.

◆ CopyNibbles()

void cBlockArea::cChunkReader::CopyNibbles ( NIBBLETYPE a_AreaDst,
const NIBBLETYPE a_ChunkSrc 
)
protected

Definition at line 2715 of file BlockArea.cpp.

Member Data Documentation

◆ m_Area

cBlockArea& cBlockArea::cChunkReader::m_Area
protected

Definition at line 442 of file BlockArea.h.

◆ m_AreaBounds

cCuboid cBlockArea::cChunkReader::m_AreaBounds
protected

Bounds of the whole area being read, in world coords.

Definition at line 443 of file BlockArea.h.

◆ m_CurrentChunkX

int cBlockArea::cChunkReader::m_CurrentChunkX
protected

Definition at line 445 of file BlockArea.h.

◆ m_CurrentChunkZ

int cBlockArea::cChunkReader::m_CurrentChunkZ
protected

Definition at line 446 of file BlockArea.h.

◆ m_Origin

Vector3i cBlockArea::cChunkReader::m_Origin
protected

Definition at line 444 of file BlockArea.h.


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