summaryrefslogtreecommitdiff
path: root/src/Game/Actor/AI/aiEnemyNormal.h
blob: 1c606b3f73eeb12acedf77d524ac7869a6b52da0 (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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
#pragma once

#include "KingSystem/ActorSystem/actAiAi.h"

namespace uking::ai {

class EnemyNormal : public ksys::act::ai::Ai {
    SEAD_RTTI_OVERRIDE(EnemyNormal, ksys::act::ai::Ai)
public:
    explicit EnemyNormal(const InitArg& arg);
    ~EnemyNormal() override;

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

protected:
    // aitree_variable at offset 0x38
    int* mPlayerSoundSealRefCount_a{};
    // aitree_variable at offset 0x40
    int* mSealNoPlayerAwnRequestCount_a{};
    // static_param at offset 0x70
    const int* mWeaponIdx_s{};
    // static_param at offset 0x78
    const int* mSoundLostTimer_s{};
    // static_param at offset 0x80
    const int* mNoActionReactTimeMin_s{};
    // static_param at offset 0x88
    const int* mNoActionReactTimeMax_s{};
    // static_param at offset 0x90
    const float* mTerritoryArea_s{};
    // static_param at offset 0x98
    const float* mNpcTerritoryArea_s{};
    // static_param at offset 0xa0
    const float* mNoPlayerTerritoryArea_s{};
    // static_param at offset 0xa8
    const float* mSpreadDist_s{};
    // static_param at offset 0xb0
    const float* mEnlargeAwnRatio_s{};
    // static_param at offset 0xb8
    const float* mNoticeTerrorLevel_s{};
    // static_param at offset 0xc0
    const float* mSpeadDist2_s{};
    // static_param at offset 0xc8
    const float* mHomePosRadius_s{};
    // static_param at offset 0xd0
    const float* mSubsTerritoryArea_s{};
    // static_param at offset 0xd8
    const float* mLostExtinguishFireDist_s{};
    // static_param at offset 0xe0
    const float* mShortRangeTerritoryArea_s{};
    // static_param at offset 0xe8
    const float* mCloseRangeTerritoryArea_s{};
    // static_param at offset 0xf0
    const float* mPressBreakObject_s{};
    // static_param at offset 0xf8
    const float* mTerritoryHeight_s{};
    // static_param at offset 0x100
    const bool* mIsMindDoubtTarget_s{};
    // static_param at offset 0x108
    sead::SafeString mFortressTag_s{};
    // map_unit_param at offset 0x118
    const float* mTerritoryArea_m{};
};

}  // namespace uking::ai