* Get the count of objects for this type. * @param type ObjectType to query * @pre type < NUM_OBJECTS */
| 65 | * @pre type < NUM_OBJECTS |
| 66 | */ |
| 67 | static inline uint16_t GetTypeCount(ObjectType type) |
| 68 | { |
| 69 | assert(type < NUM_OBJECTS); |
| 70 | return Object::counts[type]; |
| 71 | } |
| 72 | |
| 73 | /** Resets object counts. */ |
| 74 | static inline void ResetTypeCounts() |
no outgoing calls
no test coverage detected