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

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

namespace uking::ai {

class ForestGiantRoot : public EnemyRoot {
    SEAD_RTTI_OVERRIDE(ForestGiantRoot, EnemyRoot)
public:
    explicit ForestGiantRoot(const InitArg& arg);
    ~ForestGiantRoot() 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 0x1d8
    const bool* mIsDamageToEnemy_s{};
    // aitree_variable at offset 0x220
    bool* mIgnoreGiantArmorCondition_a{};
    // aitree_variable at offset 0x228
    void* mGiantNecklaceUnit_a{};
};

}  // namespace uking::ai