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

Method Load

src/openrct2/object/PathAdditionObject.cpp:57–64  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

55 }
56
57 void PathAdditionObject::Load()
58 {
59 GetStringTable().Sort();
60 _legacyType.name = LanguageAllocateObjectString(GetName());
61 _legacyType.image = LoadImages();
62
63 _legacyType.scenery_tab_id = kObjectEntryIndexNull;
64 }
65
66 void PathAdditionObject::Unload()
67 {

Callers

nothing calls this directly

Calls 3

GetNameFunction · 0.50
SortMethod · 0.45

Tested by

no test coverage detected