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

Method MarkRegenerating

src/Chunk.cpp:171–178  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

169
170
171void cChunk::MarkRegenerating(void)
172{
173 // Tell all clients attached to this chunk that they want this chunk:
174 for (cClientHandleList::iterator itr = m_LoadedByClient.begin(); itr != m_LoadedByClient.end(); ++itr)
175 {
176 (*itr)->AddWantedChunk(m_PosX, m_PosZ);
177 } // for itr - m_LoadedByClient[]
178}
179
180
181

Callers 1

MarkChunkRegeneratingMethod · 0.80

Calls 3

beginMethod · 0.80
endMethod · 0.80
AddWantedChunkMethod · 0.80

Tested by

no test coverage detected