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

Function callObjectLoad

src/OpenLoco/src/Objects/ObjectManager.cpp:351–356  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

349 }
350
351 static void callObjectLoad(const LoadedObjectHandle& handle, Object& obj, std::span<const std::byte> data, DependentObjects* dependencies = nullptr)
352 {
353 return visitObject(handle.type, obj, [&](auto&& obj) {
354 return obj->load(handle, data, dependencies);
355 });
356 }
357
358 // 0x0047237D
359 void reloadAll()

Callers 3

reloadAllFunction · 0.85
loadTemporaryObjectFunction · 0.85
loadFunction · 0.85

Calls 2

visitObjectFunction · 0.85
loadMethod · 0.45

Tested by

no test coverage detected