blob: 3ce1d01fdf1d1b90f297a2bb662ce6988efb5aff (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
#pragma once
#include "KingSystem/ActorSystem/actAiAction.h"
namespace uking::action {
class NPCTurnAction : public ksys::act::ai::Action {
SEAD_RTTI_OVERRIDE(NPCTurnAction, ksys::act::ai::Action)
public:
explicit NPCTurnAction(const InitArg& arg);
~NPCTurnAction() 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* mTurnFrame_s{};
// static_param at offset 0x28
const bool* mIsIgnoreSameKey_s{};
// static_param at offset 0x30
sead::SafeString mASName_s{};
// dynamic_param at offset 0x40
sead::Vector3f* mTargetPos_d{};
};
} // namespace uking::action
|