| 1 | #pragma once |
| 2 | |
| 3 | #include <basis/seadTypes.h> |
| 4 | |
| 5 | namespace al { |
| 6 | class ByamlIter; |
| 7 | |
| 8 | class ActorScoreKeeper { |
| 9 | public: |
| 10 | struct Entry { |
| 11 | const char* factorName; |
| 12 | const char* categoryName; |
| 13 | }; |
| 14 | |
| 15 | ActorScoreKeeper(); |
| 16 | |
| 17 | void init(const ByamlIter& iter); |
| 18 | void getCategoryName(); // unknown return type |
| 19 | const char* tryGetCategoryName(const char* a1); |
| 20 | |
| 21 | private: |
| 22 | inline void allocArray(); |
| 23 | inline void putEntry(s32 index, const ByamlIter& iter); |
| 24 | |
| 25 | Entry* mArray = nullptr; |
| 26 | s32 mSize = 0; |
| 27 | }; |
| 28 | } // namespace al |
| 29 | |