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

Method GetData

src/openrct2/object/ObjectFactory.cpp:165–172  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

163 }
164
165 std::vector<uint8_t> GetData(std::string_view path) override
166 {
167 if (_fileDataRetriever != nullptr)
168 {
169 return _fileDataRetriever->GetData(path);
170 }
171 return {};
172 }
173
174 ObjectAsset GetAsset(std::string_view path) override
175 {

Callers

nothing calls this directly

Calls 1

GetDataMethod · 0.45

Tested by

no test coverage detected