summaryrefslogtreecommitdiff
path: root/src/Game/Actor/AI/aiGuardianTargetLost.h
blob: 69acccc84839c06cc26e23a9771ca72198eb0923 (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 "Game/Actor/AI/aiGuardianAI.h"
#include "KingSystem/ActorSystem/actAiAi.h"

namespace uking::ai {

class GuardianTargetLost : public GuardianAI {
    SEAD_RTTI_OVERRIDE(GuardianTargetLost, GuardianAI)
public:
    explicit GuardianTargetLost(const InitArg& arg);
    ~GuardianTargetLost() 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 0x68
    const int* mLostCountMax_s{};
    // static_param at offset 0x70
    const float* mMoveRange_s{};
    // static_param at offset 0x78
    const float* mBackOffset_s{};
    // static_param at offset 0x80
    const float* mAirThreshold_s{};
};

}  // namespace uking::ai