summaryrefslogtreecommitdiff
path: root/src/Game/Actor/AI/aiAnimalBattleAggressive.h
blob: 723a02d11e96c5e963c221defba4adc176429c91 (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
#pragma once

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

namespace uking::ai {

class AnimalBattleAggressive : public EnemyBattle {
    SEAD_RTTI_OVERRIDE(AnimalBattleAggressive, EnemyBattle)
public:
    explicit AnimalBattleAggressive(const InitArg& arg);
    ~AnimalBattleAggressive() 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* mForceAttackTimer_s{};
    // static_param at offset 0x98
    const int* mCounterAttackTimer_s{};
    // static_param at offset 0xa0
    const float* mForceAttackRange_s{};
    // static_param at offset 0xa8
    const float* mCounterAttackRange_s{};
    // aitree_variable at offset 0xb0
    bool* mAnimalEnableCounterFlag_a{};
};

}  // namespace uking::ai