MCPcopy Create free account
hub / github.com/cuberite/cuberite / QueueLoadChunk

Method QueueLoadChunk

src/WorldStorage/WorldStorage.cpp:151–155  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

149
150
151void cWorldStorage::QueueLoadChunk(int a_ChunkX, int a_ChunkY, int a_ChunkZ, bool a_Generate)
152{
153 m_LoadQueue.EnqueueItem(sChunkLoad(a_ChunkX, a_ChunkY, a_ChunkZ, a_Generate));
154 m_Event.Set();
155}
156
157
158

Callers 2

GetChunkMethod · 0.80
GetChunkNoGenMethod · 0.80

Calls 3

sChunkLoadClass · 0.85
EnqueueItemMethod · 0.80
SetMethod · 0.45

Tested by

no test coverage detected