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

Function getObjectEntryGroupCount

src/openrct2/object/ObjectList.cpp:46–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44 static_assert(std::size(kObjectEntryGroupCounts) == EnumValue(ObjectType::count));
45
46 size_t getObjectEntryGroupCount(ObjectType objectType)
47 {
48 return kObjectEntryGroupCounts[EnumValue(objectType)];
49 }
50
51 size_t getObjectTypeLimit(ObjectType type)
52 {

Callers 15

SetSelectedObjectFunction · 0.85
SetupInUseSelectionFlagsFunction · 0.85
GetRideEntryNameFunction · 0.85
getAllObjectsMethod · 0.85
placeTreesFunction · 0.85
GetLoadedObjectMethod · 0.85
GetLoadedObjectsMethod · 0.85
FindSpareSlotMethod · 0.85

Calls 1

EnumValueFunction · 0.85

Tested by

no test coverage detected