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

Method GetFirstSourceGame

src/openrct2/object/Object.cpp:194–200  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

192 }
193
194 ObjectSourceGame Object::GetFirstSourceGame() const
195 {
196 if (_sourceGames.empty())
197 return ObjectSourceGame::custom;
198
199 return _sourceGames[0];
200 }
201
202 void Object::SetSourceGames(const std::vector<ObjectSourceGame>& sourceGames)
203 {

Callers 3

HandleObjectsInfoFunction · 0.45
IsObjectCustomFunction · 0.45
DrawDebugDataMethod · 0.45

Calls 1

emptyMethod · 0.45

Tested by

no test coverage detected