summaryrefslogtreecommitdiff
path: root/src/Game/Actor/Query/queryCheckActorAction.cpp
blob: a13e799db6f97e6abfc6ef2cfed5186bbc1425cd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#include "Game/Actor/Query/queryCheckActorAction.h"
#include <evfl/Query.h>

namespace uking::query {

CheckActorAction::CheckActorAction(const InitArg& arg) : ksys::act::ai::Query(arg) {}

CheckActorAction::~CheckActorAction() = default;

// FIXME: implement
int CheckActorAction::doQuery() {
    return -1;
}

void CheckActorAction::loadParams(const evfl::QueryArg& arg) {
    loadString(arg.param_accessor, "ActionName");
}

void CheckActorAction::loadParams() {
    getDynamicParam(&mActionName, "ActionName");
}

}  // namespace uking::query