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

Method ChunkReady

src/ChunkSender.cpp:79–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77
78
79void cChunkSender::ChunkReady(int a_ChunkX, int a_ChunkZ)
80{
81 // This is probably never gonna be called twice for the same chunk, and if it is, we don't mind, so we don't check
82 {
83 cCSLock Lock(m_CS);
84 m_ChunksReady.push_back(cChunkCoords(a_ChunkX, ZERO_CHUNK_Y, a_ChunkZ));
85 }
86 m_evtQueue.Set();
87}
88
89
90

Callers 2

CallMethod · 0.80
SetChunkDataMethod · 0.80

Calls 2

cChunkCoordsClass · 0.85
SetMethod · 0.45

Tested by

no test coverage detected