mirror of
https://github.com/zeldaret/botw
synced 2026-09-09 19:51:27 -04:00
query: Implement CheckFlag
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
#include "Game/AI/Query/queryCheckFlag.h"
|
||||
#include <evfl/query.h>
|
||||
#include "KingSystem/GameData/gdtManager.h"
|
||||
|
||||
namespace uking::query {
|
||||
|
||||
@@ -7,9 +8,10 @@ CheckFlag::CheckFlag(const InitArg& arg) : ksys::act::ai::Query(arg) {}
|
||||
|
||||
CheckFlag::~CheckFlag() = default;
|
||||
|
||||
// FIXME: implement
|
||||
int CheckFlag::doQuery() {
|
||||
return -1;
|
||||
bool value = false;
|
||||
ksys::gdt::Manager::instance()->getParamBypassPerm().get().getBool(&value, mFlagName);
|
||||
return value;
|
||||
}
|
||||
|
||||
void CheckFlag::loadParams(const evfl::QueryArg& arg) {
|
||||
|
||||
Reference in New Issue
Block a user