ksys/act: Implement more Query functions

This commit is contained in:
Léo Lam
2020-12-09 18:32:25 +01:00
parent fcbe17a3f0
commit 930b780cd1
9 changed files with 151 additions and 24 deletions
+8
View File
@@ -16,4 +16,12 @@ RootAi::~RootAi() {
delete _140;
}
bool RootAi::loadMapUnitParams(const AIDef& def, sead::Heap* heap) {
return mMapUnitParams.load(*mActor, def, heap, AIDefInstParamKind::MapUnit);
}
bool RootAi::loadAITreeParams(const AIDef& def, sead::Heap* heap) {
return mAiTreeParams.load(*mActor, def, heap, AIDefInstParamKind::AITree);
}
} // namespace ksys::act::ai