blob: 39862387c0fddf61afac3798dbe4180ab780712a (
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/AI/Query/queryGeneralChoice3.h"
#include <evfl/Query.h>
#include "KingSystem/ActorSystem/actActorUtil.h"
namespace uking::query {
GeneralChoice3::GeneralChoice3(const InitArg& arg) : ksys::act::ai::Query(arg) {}
GeneralChoice3::~GeneralChoice3() = default;
int GeneralChoice3::doQuery() {
s32 idx = ksys::act::getSelectedChoiceIdx(3, getName());
if (idx < 0)
return 0;
return idx;
}
void GeneralChoice3::loadParams(const evfl::QueryArg& arg) {}
void GeneralChoice3::loadParams() {}
} // namespace uking::query
|