summaryrefslogtreecommitdiff
path: root/src/Game/Actor/AI/aiGolemRoot.h
blob: f0ea3f086aa436b2fe979594433fd5e61bc02b20 (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
33
34
35
36
#pragma once

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

namespace uking::ai {

class GolemRoot : public GolemRootBase {
    SEAD_RTTI_OVERRIDE(GolemRoot, GolemRootBase)
public:
    explicit GolemRoot(const InitArg& arg);
    ~GolemRoot() 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 0x310
    const int* mClimbFinishTime_s{};
    // static_param at offset 0x318
    const float* mStandContactHeight_s{};
    // static_param at offset 0x320
    const bool* mIsBreakContactTree_s{};
    // map_unit_param at offset 0x328
    sead::SafeString mGolemWeakPointLocation_m{};
    // map_unit_param at offset 0x338
    sead::SafeString mGolemSleepType_m{};
    // map_unit_param at offset 0x348
    sead::SafeString mGolemWeakPointActor_m{};
    // aitree_variable at offset 0x358
    float* mGolemClimbedTime_a{};
};

}  // namespace uking::ai