| 962 | |
| 963 | |
| 964 | bool cChunkMap::GetChunkData(int a_ChunkX, int a_ChunkZ, cChunkDataCallback & a_Callback) |
| 965 | { |
| 966 | cCSLock Lock(m_CSLayers); |
| 967 | cChunkPtr Chunk = GetChunkNoGen(a_ChunkX, ZERO_CHUNK_Y, a_ChunkZ); |
| 968 | if ((Chunk == NULL) || !Chunk->IsValid()) |
| 969 | { |
| 970 | return false; |
| 971 | } |
| 972 | Chunk->GetAllData(a_Callback); |
| 973 | return true; |
| 974 | } |
| 975 | |
| 976 | |
| 977 |
nothing calls this directly
no test coverage detected