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

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

namespace uking::ai {

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

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

protected:
    // aitree_variable at offset 0xf0
    void* mMagicCreateUnit_a{};
};

}  // namespace uking::ai