ChunkProvider

Undocumented in source.

Members

Functions

init
void init(string worldDir, uint numWorkers)
Undocumented in source. Be warned that the author may not have intended to support it.
loadChunk
void loadChunk(ChunkWorldPos cwp, BlockType[] blockBuffer)
Undocumented in source. Be warned that the author may not have intended to support it.
loadQueueSpaceAvaliable
size_t loadQueueSpaceAvaliable()
Undocumented in source. Be warned that the author may not have intended to support it.
saveChunk
void saveChunk(ChunkWorldPos cwp, BlockDataSnapshot snapshot)
Undocumented in source. Be warned that the author may not have intended to support it.
stop
void stop()
Undocumented in source. Be warned that the author may not have intended to support it.
update
void update()
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

loadQueueLength
size_t loadQueueLength;
Undocumented in source.
onChunkLoadedHandlers
void delegate(ChunkWorldPos, BlockDataSnapshot)[] onChunkLoadedHandlers;
Undocumented in source.
onChunkSavedHandlers
void delegate(ChunkWorldPos, TimestampType)[] onChunkSavedHandlers;
Undocumented in source.

Meta