Cuberite
A lightweight, fast and extensible game server for Minecraft
|
#include <ForEachChunkProvider.h>
Public Member Functions | |
virtual bool | ForEachChunkInRect (int a_MinChunkX, int a_MaxChunkX, int a_MinChunkZ, int a_MaxChunkZ, cChunkDataCallback &a_Callback)=0 |
Calls the callback for each chunk in the specified range. More... | |
virtual bool | WriteBlockArea (cBlockArea &a_Area, int a_MinBlockX, int a_MinBlockY, int a_MinBlockZ, int a_DataTypes)=0 |
Writes the block area into the specified coords. More... | |
virtual | ~cForEachChunkProvider () |
Definition at line 24 of file ForEachChunkProvider.h.
|
inlinevirtual |
Definition at line 27 of file ForEachChunkProvider.h.
|
pure virtual |
Calls the callback for each chunk in the specified range.
Implemented in cWorld, and cChunkInterface.
|
pure virtual |
Writes the block area into the specified coords.
Returns true if all chunks have been processed. a_DataTypes is a bitmask of cBlockArea::baXXX constants ORed together.
Implemented in cWorld, and cChunkInterface.