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

Method PopulateTablesFromJson

src/openrct2/object/Object.cpp:159–163  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

157 }
158
159 void Object::PopulateTablesFromJson(IReadObjectContext* context, json_t& root)
160 {
161 _stringTable.ReadJson(root);
162 _usesFallbackImages = _imageTable.ReadJson(context, root);
163 }
164
165 std::string Object::GetString(ObjectStringID index) const
166 {

Callers

nothing calls this directly

Calls 1

ReadJsonMethod · 0.45

Tested by

no test coverage detected