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

Function ObjectEntryGetObject

src/openrct2/object/ObjectList.cpp:255–259  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

253 }
254
255 const Object* ObjectEntryGetObject(ObjectType objectType, ObjectEntryIndex index)
256 {
257 auto& objectMgr = GetContext()->GetObjectManager();
258 return objectMgr.GetLoadedObject(objectType, index);
259 }
260} // namespace OpenRCT2

Callers 11

QueryMethod · 0.85
GetRideEntryNameFunction · 0.85
TrackDesignSaveAddWallFunction · 0.85
CreateTrackDesignMethod · 0.85
placeTreesFunction · 0.85
ImportRideMethod · 0.85
onDrawMethod · 0.85

Calls 2

GetContextFunction · 0.85
GetLoadedObjectMethod · 0.45

Tested by

no test coverage detected