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 cChunkData &a_BlockTypes) 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 434 of file BlockArea.h.

Constructor & Destructor Documentation

cBlockArea::cChunkReader::cChunkReader ( cBlockArea a_Area)

Definition at line 2762 of file BlockArea.cpp.

Member Function Documentation

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

Definition at line 2985 of file BlockArea.cpp.

void cBlockArea::cChunkReader::ChunkData ( const cChunkData a_BlockTypes)
overrideprotectedvirtual

Definition at line 2852 of file BlockArea.cpp.

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

Definition at line 2841 of file BlockArea.cpp.

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

Definition at line 2775 of file BlockArea.cpp.

Member Data Documentation

cBlockArea& cBlockArea::cChunkReader::m_Area
protected

Definition at line 441 of file BlockArea.h.

cCuboid cBlockArea::cChunkReader::m_AreaBounds
protected

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

Definition at line 442 of file BlockArea.h.

int cBlockArea::cChunkReader::m_CurrentChunkX
protected

Definition at line 444 of file BlockArea.h.

int cBlockArea::cChunkReader::m_CurrentChunkZ
protected

Definition at line 445 of file BlockArea.h.

Vector3i cBlockArea::cChunkReader::m_Origin
protected

Definition at line 443 of file BlockArea.h.


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