ksys/act: Fix Query's second loadParams overload

This commit is contained in:
Léo Lam 2020-12-21 19:16:49 +01:00
parent b1470e45fa
commit f376435211
No known key found for this signature in database
GPG Key ID: 0DF30F9081000741
2 changed files with 4 additions and 3 deletions

View File

@ -40508,7 +40508,7 @@
0x000000710068410c,AI_QueryBase::dtor,20,_ZN4ksys3act2ai5QueryD2Ev
0x0000007100684120,AI_QueryBase::dtorDelete,52,_ZN4ksys3act2ai5QueryD0Ev
0x0000007100684154,AI_QueryBase::doQuery,8,_ZN4ksys3act2ai5Query7doQueryEv
0x000000710068415c,AI_QueryBase::m10n,4,_ZN4ksys3act2ai5Query3m10Ev
0x000000710068415c,AI_QueryBase::m10n,4,_ZN4ksys3act2ai5Query10loadParamsERKN4evfl8QueryArgE
0x0000007100684160,sub_7100684160,140,_ZNK4sead15RuntimeTypeInfo6DeriveIN4ksys3act2ai5QueryEE9isDerivedEPKNS0_9InterfaceE
0x00000071006841ec,AI_Query_BranchByGameOver::ctor,48,
0x000000710068421c,AI_Query_BranchByGameOver::dtor,20,

Can't render this file because it is too large.

View File

@ -8,7 +8,8 @@
namespace evfl {
class ParamAccessor;
}
class QueryArg;
} // namespace evfl
namespace ksys::act {
class Actor;
@ -57,7 +58,7 @@ public:
virtual bool init_(sead::Heap* heap) { return true; }
virtual void loadParams() {}
virtual int doQuery() { return 0; }
virtual void m10() {}
virtual void loadParams(const evfl::QueryArg& arg) {}
virtual bool updateForPreDelete() { return true; }
virtual void onPreDelete() {}