summaryrefslogtreecommitdiff
path: root/src/Game/AI/Query/queryCheckDieCnt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Game/AI/Query/queryCheckDieCnt.cpp')
-rw-r--r--src/Game/AI/Query/queryCheckDieCnt.cpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/src/Game/AI/Query/queryCheckDieCnt.cpp b/src/Game/AI/Query/queryCheckDieCnt.cpp
new file mode 100644
index 00000000..82444bd4
--- /dev/null
+++ b/src/Game/AI/Query/queryCheckDieCnt.cpp
@@ -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