summaryrefslogtreecommitdiff
path: root/src/Game/AI/Query/queryCheckGameDataInt.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Game/AI/Query/queryCheckGameDataInt.cpp')
-rw-r--r--src/Game/AI/Query/queryCheckGameDataInt.cpp27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/Game/AI/Query/queryCheckGameDataInt.cpp b/src/Game/AI/Query/queryCheckGameDataInt.cpp
new file mode 100644
index 00000000..e7b4c8f5
--- /dev/null
+++ b/src/Game/AI/Query/queryCheckGameDataInt.cpp
@@ -0,0 +1,27 @@
+#include "Game/AI/Query/queryCheckGameDataInt.h"
+#include <evfl/query.h>
+
+namespace uking::query {
+
+CheckGameDataInt::CheckGameDataInt(const InitArg& arg) : ksys::act::ai::Query(arg) {}
+
+CheckGameDataInt::~CheckGameDataInt() = default;
+
+// FIXME: implement
+int CheckGameDataInt::doQuery() {
+ return -1;
+}
+
+void CheckGameDataInt::loadParams(const evfl::QueryArg& arg) {
+ loadInt(arg.param_accessor, "Value");
+ loadString(arg.param_accessor, "GameDataIntName");
+ loadString(arg.param_accessor, "Operator");
+}
+
+void CheckGameDataInt::loadParams() {
+ getDynamicParam(&mValue, "Value");
+ getDynamicParam(&mGameDataIntName, "GameDataIntName");
+ getDynamicParam(&mOperator, "Operator");
+}
+
+} // namespace uking::query