summaryrefslogtreecommitdiff
path: root/src/Game/AI/Query/queryCheckExistActor.cpp
blob: 2a95b81708d3066a9a5e659e2ec8f2c6b9d724f8 (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
25
26
27
#include "Game/AI/Query/queryCheckExistActor.h"
#include <evfl/query.h>

namespace uking::query {

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

CheckExistActor::~CheckExistActor() = default;

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

void CheckExistActor::loadParams(const evfl::QueryArg& arg) {
    loadBool(arg.param_accessor, "IsCheckEquipStand");
    loadBool(arg.param_accessor, "IsCheckLife");
    loadString(arg.param_accessor, "ActorName");
}

void CheckExistActor::loadParams() {
    getDynamicParam(&mIsCheckEquipStand, "IsCheckEquipStand");
    getDynamicParam(&mIsCheckLife, "IsCheckLife");
    getDynamicParam(&mActorName, "ActorName");
}

}  // namespace uking::query