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

Method Enable

src/ChunkStay.cpp:80–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

78
79
80void cChunkStay::Enable(cChunkMap & a_ChunkMap)
81{
82 ASSERT(m_ChunkMap == NULL);
83
84 m_OutstandingChunks = m_Chunks;
85 m_ChunkMap = &a_ChunkMap;
86 a_ChunkMap.AddChunkStay(*this);
87}
88
89
90

Callers 1

QueueChunkMethod · 0.45

Calls 1

AddChunkStayMethod · 0.80

Tested by

no test coverage detected