Generate stubs for queries

This commit is contained in:
Léo Lam
2020-12-21 21:38:09 +01:00
parent 60b2362ddc
commit f98d3ee758
336 changed files with 8410 additions and 1085 deletions
+25
View File
@@ -0,0 +1,25 @@
#include "Game/AI/Query/queryCheckDieCnt.h"
#include <evfl/query.h>
namespace uking::query {
CheckDieCnt::CheckDieCnt(const InitArg& arg) : ksys::act::ai::Query(arg) {}
CheckDieCnt::~CheckDieCnt() = default;
// FIXME: implement
int CheckDieCnt::doQuery() {
return -1;
}
void CheckDieCnt::loadParams(const evfl::QueryArg& arg) {
loadInt(arg.param_accessor, "Count");
loadString(arg.param_accessor, "ActorName");
}
void CheckDieCnt::loadParams() {
getDynamicParam(&mCount, "Count");
getDynamicParam(&mActorName, "ActorName");
}
} // namespace uking::query