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

namespace uking::query {

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

CheckEatActor::~CheckEatActor() = default;

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

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

void CheckEatActor::loadParams() {
    getDynamicParam(&mActorName, "ActorName");
    getAITreeVariable(&mPrevEatActorName, "PrevEatActorName");
}

}  // namespace uking::query