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

Method SaveAllChunks

src/ChunkMap.cpp:2596–2603  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2594
2595
2596void cChunkMap::SaveAllChunks(void)
2597{
2598 cCSLock Lock(m_CSLayers);
2599 for (cChunkLayerList::iterator itr = m_Layers.begin(); itr != m_Layers.end(); ++itr)
2600 {
2601 (*itr)->Save();
2602 } // for itr - m_Layers[]
2603}
2604
2605
2606

Callers

nothing calls this directly

Calls 3

beginMethod · 0.80
endMethod · 0.80
SaveMethod · 0.45

Tested by

no test coverage detected