MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / shouldPackObjects

Function shouldPackObjects

src/OpenLoco/src/S5/S5.cpp:193–199  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

191 }
192
193 static constexpr bool shouldPackObjects(SaveFlags flags)
194 {
195 return (flags & SaveFlags::raw) == SaveFlags::none
196 && (flags & SaveFlags::dump) == SaveFlags::none
197 && (flags & SaveFlags::packCustomObjects) != SaveFlags::none
198 && !SceneManager::isNetworked();
199 }
200
201 // 0x00441C26
202 bool exportGameStateToFile(const fs::path& path, SaveFlags flags)

Callers 1

exportGameStateToFileFunction · 0.85

Calls 1

isNetworkedFunction · 0.85

Tested by

no test coverage detected