summaryrefslogtreecommitdiff
path: root/src/Game/Actor/AI/aiEnemyBattleWithAreaCheck.h
blob: 0ef841173b0245d4800fb413b459f7dae1924590 (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/aiEnemyBattle.h"
#include "KingSystem/ActorSystem/actAiAi.h"

namespace uking::ai {

class EnemyBattleWithAreaCheck : public EnemyBattle {
    SEAD_RTTI_OVERRIDE(EnemyBattleWithAreaCheck, EnemyBattle)
public:
    explicit EnemyBattleWithAreaCheck(const InitArg& arg);
    ~EnemyBattleWithAreaCheck() 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 0x90
    const int* mWeaponIdx_s{};
    // static_param at offset 0x98
    const float* mAttackVMin_s{};
    // static_param at offset 0xa0
    const float* mAttackVMax_s{};
    // static_param at offset 0xa8
    const float* mAttackFar_s{};
};

}  // namespace uking::ai