diff options
Diffstat (limited to 'src/Game/AI/Query/queryCheckFadeState.cpp')
| -rw-r--r-- | src/Game/AI/Query/queryCheckFadeState.cpp | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/Game/AI/Query/queryCheckFadeState.cpp b/src/Game/AI/Query/queryCheckFadeState.cpp new file mode 100644 index 00000000..5092b2c7 --- /dev/null +++ b/src/Game/AI/Query/queryCheckFadeState.cpp @@ -0,0 +1,25 @@ +#include "Game/AI/Query/queryCheckFadeState.h" +#include <evfl/query.h> + +namespace uking::query { + +CheckFadeState::CheckFadeState(const InitArg& arg) : ksys::act::ai::Query(arg) {} + +CheckFadeState::~CheckFadeState() = default; + +// FIXME: implement +int CheckFadeState::doQuery() { + return -1; +} + +void CheckFadeState::loadParams(const evfl::QueryArg& arg) { + loadInt(arg.param_accessor, "FadeType"); + loadInt(arg.param_accessor, "State"); +} + +void CheckFadeState::loadParams() { + getDynamicParam(&mFadeType, "FadeType"); + getDynamicParam(&mState, "State"); +} + +} // namespace uking::query |
