summaryrefslogtreecommitdiff
path: root/src/Game/Actor/AI/aiEnemyFortressWait.h
blob: ea42f868cade72ad7f6c83c5087a5488317db464 (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/aiEnemyWaitViewItem.h"
#include "KingSystem/ActorSystem/actAiAi.h"

namespace uking::ai {

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

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

protected:
    // map_unit_param at offset 0x40
    const int* mFortressEatPer_m{};
    // map_unit_param at offset 0x48
    sead::SafeString mFortressEatItem_m{};
    // static_param at offset 0x58
    const int* mEatPer_s{};
    // static_param at offset 0x60
    sead::SafeString mEatItem_s{};
};

}  // namespace uking::ai