mirror of
https://github.com/zeldaret/botw
synced 2026-05-31 17:31:53 -04:00
Generate stubs for queries
This commit is contained in:
@@ -0,0 +1,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
|
||||
Reference in New Issue
Block a user