MCPcopy Create free account
hub / github.com/OpenRCT2/OpenRCT2 / Load

Method Load

src/openrct2/object/SceneryGroupObject.cpp:56–62  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54 }
55
56 void SceneryGroupObject::Load()
57 {
58 GetStringTable().Sort();
59 _legacyType.name = LanguageAllocateObjectString(GetName());
60 _legacyType.image = LoadImages();
61 _legacyType.SceneryEntries.clear();
62 }
63
64 void SceneryGroupObject::Unload()
65 {

Callers

nothing calls this directly

Calls 4

clearMethod · 0.65
GetNameFunction · 0.50
SortMethod · 0.45

Tested by

no test coverage detected