botw/src/Game/AI/Action/actionFallAttack.h

34 lines
871 B
C++

#pragma once
#include "KingSystem/ActorSystem/actAiAction.h"
namespace uking::action {
class FallAttack : public ksys::act::ai::Action {
SEAD_RTTI_OVERRIDE(FallAttack, ksys::act::ai::Action)
public:
explicit FallAttack(const InitArg& arg);
~FallAttack() override;
bool init_(sead::Heap* heap) override;
void enter_(ksys::act::ai::InlineParamPack* params) override;
void leave_() override;
void loadParams_() override;
protected:
void calc_() override;
// static_param at offset 0x20
const int* mWeaponIdx_s{};
// static_param at offset 0x28
const float* mGravity_s{};
// static_param at offset 0x30
const float* mJustAvoidDist_s{};
// static_param at offset 0x38
sead::SafeString mASName_s{};
// static_param at offset 0x48
sead::SafeString mAtkBodyName_s{};
};
} // namespace uking::action