RegionStorage

Used for easy saving/loading chunks into region files.

Constructors

this
this()
Undocumented in source.
this
this(string regionDir)
Undocumented in source.

Members

Functions

chunkTimestamp
TimestampType chunkTimestamp(ChunkWorldPos chunkPos)
Undocumented in source. Be warned that the author may not have intended to support it.
clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
getChunkStoreInfo
ChunkStoreInfo getChunkStoreInfo(ChunkWorldPos chunkPos)
Undocumented in source. Be warned that the author may not have intended to support it.
isChunkOnDisk
bool isChunkOnDisk(ChunkWorldPos chunkPos)
Undocumented in source. Be warned that the author may not have intended to support it.
isRegionOnDisk
bool isRegionOnDisk(RegionWorldPos regionPos)
Undocumented in source. Be warned that the author may not have intended to support it.
readChunk
ubyte[] readChunk(ChunkWorldPos chunkPos, ubyte[] outBuffer, TimestampType timestamp)
Undocumented in source. Be warned that the author may not have intended to support it.
writeChunk
void writeChunk(ChunkWorldPos chunkPos, ubyte[] blockData, TimestampType timestamp)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta