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

Function deserialiseFolderState

src/OpenLoco/src/Objects/ObjectIndex.cpp:282–291  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

280 }
281
282 static ObjectFolderState deserialiseFolderState(Stream& stream)
283 {
284 ObjectFolderState ofs{};
285 ofs.numObjects = stream.readValue<uint32_t>();
286 ofs.totalFileSize = stream.readValue<uint32_t>();
287 ofs.dateHash = stream.readValue<uint32_t>();
288
289 ofs.basePath = deserialiseString(stream);
290 return ofs;
291 }
292
293 static IndexHeader deserialiseHeader(Stream& stream)
294 {

Callers 1

deserialiseHeaderFunction · 0.85

Calls 1

deserialiseStringFunction · 0.85

Tested by

no test coverage detected