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

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

namespace uking::ai {

class GuardianRoot : public GuardianAI {
    SEAD_RTTI_OVERRIDE(GuardianRoot, GuardianAI)
public:
    explicit GuardianRoot(const InitArg& arg);
    ~GuardianRoot() 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 0x38
    const bool* mIsSuspended_m{};
    // aitree_variable at offset 0x40
    sead::Vector3f* mForceSetDropPos_a{};
};

}  // namespace uking::ai