summaryrefslogtreecommitdiff
path: root/src/Game/Actor/AI/aiLynelRoot.h
blob: c6a234c98478ac7a3f1d2772918ed475316058b0 (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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
#pragma once

#include "Game/Actor/AI/aiEnemyRoot.h"
#include "KingSystem/ActorSystem/actAiAi.h"

namespace uking::ai {

class LynelRoot : public EnemyRoot {
    SEAD_RTTI_OVERRIDE(LynelRoot, EnemyRoot)
public:
    explicit LynelRoot(const InitArg& arg);
    ~LynelRoot() override;

    bool init_(sead::Heap* heap) override;
    void enter_(ksys::act::ai::InlineParamPack* params) override;
    void leave_() override;
    void loadParams_() override;

protected:
    // static_param at offset 0x1d8
    const int* mBowIdx_s{};
    // static_param at offset 0x1e0
    const float* mBoneStandAddRatio_s{};
    // static_param at offset 0x1e8
    sead::SafeString mRoarFlameActorName_s{};
    // static_param at offset 0x1f8
    sead::SafeString mRoarFlamePartsKey_s{};
    // static_param at offset 0x208
    sead::SafeString mBreathActorName_s{};
    // static_param at offset 0x218
    sead::SafeString mBreathPartsKey0_s{};
    // static_param at offset 0x228
    sead::SafeString mBreathPartsKey1_s{};
    // static_param at offset 0x238
    sead::SafeString mBreathPartsKey2_s{};
    // static_param at offset 0x248
    sead::SafeString mStandBoneName_s{};
    // aitree_variable at offset 0x258
    int* mLynelAIFlags_a{};
    // aitree_variable at offset 0x260
    int* mLynelAreaAlarmPoint_a{};
    // aitree_variable at offset 0x268
    void* mLynelBodyControlUnit_a{};
    // aitree_variable at offset 0x270
    void* mLynelMoveParam_a{};
};

}  // namespace uking::ai