ksys/act: Add more ActionBase, Ai and RootAi functions

This commit is contained in:
Léo Lam
2020-12-17 23:14:09 +01:00
parent cd6bf1e821
commit 8a22f0bb50
13 changed files with 530 additions and 75 deletions
@@ -63,6 +63,10 @@ public:
const sead::Buffer<BehaviorDef>& getBehaviors() const { return mBehaviors; }
const sead::Buffer<QueryDef>& getQueries() const { return mQueries; }
const AIActionDef& getAI(s32 index) const { return mAIs[index]; }
const sead::Buffer<AIActionDef>& getAIs() const { return mAIs; }
const sead::Buffer<AIActionDef>& getActions() const { return mAIs; }
const AIActionDef& getAction(act::ai::ActionType type, s32 index) const {
return getActionsOrAIs(type)[index];
}