* Find the ChunkHandler that will be used for processing the found * chunk in the savegame or in memory * @param id the chunk in question * @return returns the appropriate chunkhandler */
| 2302 | * @return returns the appropriate chunkhandler |
| 2303 | */ |
| 2304 | static const ChunkHandler *SlFindChunkHandler(uint32_t id) |
| 2305 | { |
| 2306 | for (const ChunkHandler &ch : ChunkHandlers()) if (ch.id == id) return &ch; |
| 2307 | return nullptr; |
| 2308 | } |
| 2309 | |
| 2310 | /** Load all chunks */ |
| 2311 | static void SlLoadChunks() |
no outgoing calls
no test coverage detected