MCPcopy Create free account
hub / github.com/OpenLoco/OpenLoco / getNumAvailableObjectsByType

Function getNumAvailableObjectsByType

src/OpenLoco/src/Objects/ObjectIndex.cpp:589–592  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

587 }
588
589 uint16_t getNumAvailableObjectsByType(ObjectType type)
590 {
591 return _numObjectsPerType[enumValue(type)];
592 }
593
594 static std::optional<ObjIndexPair> internalFindObjectInIndex(const ObjectHeader& objectHeader)
595 {

Callers 3

shouldShowTabFunction · 0.85
currencyMouseDownFunction · 0.85

Calls 1

enumValueFunction · 0.85

Tested by

no test coverage detected