summaryrefslogtreecommitdiff
path: root/src/Game/Actor/Query/queryIsOwnedHorseAssociated.cpp
blob: 794975ac9bd366360ca209c3491aa28130b54056 (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/queryIsOwnedHorseAssociated.h"
#include <evfl/Query.h>

namespace uking::query {

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

IsOwnedHorseAssociated::~IsOwnedHorseAssociated() = default;

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

void IsOwnedHorseAssociated::loadParams(const evfl::QueryArg& arg) {
    loadBool(arg.param_accessor, "IsRidden");
}

void IsOwnedHorseAssociated::loadParams() {
    getDynamicParam(&mIsRidden, "IsRidden");
}

}  // namespace uking::query