MCPcopy Create free account
hub / github.com/OpenApoc/OpenApoc / loadSector

Method loadSector

game/state/gamestate_serialize.cpp:733–744  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

731}
732
733bool BattleMapSectorTiles::loadSector(GameState &state, const UString &path)
734{
735
736 auto archive = SerializationArchive::readArchive(path);
737 if (!archive)
738 {
739 LogError("Failed to read \"%s\"", path);
740 return false;
741 }
742
743 return deserialize(*this, state, archive.get());
744}
745
746} // namespace OpenApoc

Callers 1

battlemap.cppFile · 0.80

Calls 2

deserializeFunction · 0.85
getMethod · 0.45

Tested by

no test coverage detected