ChunkProvider

Undocumented in source.

Members

Functions

endChunkSave
void endChunkSave(size_t headerPos, ChunkHeaderItem header)
Undocumented in source. Be warned that the author may not have intended to support it.
init
void init(WorldDb worldDb, uint numGenWorkers, BlockInfoTable blocks)
Undocumented in source. Be warned that the author may not have intended to support it.
loadChunk
void loadChunk(ChunkWorldPos cwp)
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.
notify
void notify()
Undocumented in source. Be warned that the author may not have intended to support it.
pushLayer
void pushLayer(ChunkLayerItem layer)
Undocumented in source. Be warned that the author may not have intended to support it.
pushSaveHandler
void pushSaveHandler(IoHandler ioHandler)
Undocumented in source. Be warned that the author may not have intended to support it.
startChunkSave
size_t startChunkSave()
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

genWorkers
Worker[] genWorkers;
Undocumented in source.
loadResQueue
SharedQueue loadResQueue;
Undocumented in source.
loadTaskQueue
SharedQueue loadTaskQueue;
Undocumented in source.
numReceived
size_t numReceived;
Undocumented in source.
onChunkLoadedHandler
void delegate(LoadedChunkData loadedChunk, bool needsSave) onChunkLoadedHandler;
Undocumented in source.
onChunkSavedHandler
void delegate(SavedChunkData savedChunk) onChunkSavedHandler;
Undocumented in source.
prevReceived
size_t prevReceived;
Undocumented in source.
saveResQueue
SharedQueue saveResQueue;
Undocumented in source.
saveTaskQueue
SharedQueue saveTaskQueue;
Undocumented in source.
workAvaliable
Condition workAvaliable;
Undocumented in source.
workAvaliableMutex
Mutex workAvaliableMutex;
Undocumented in source.

Meta