summaryrefslogtreecommitdiff
path: root/src/KingSystem/Sound/Actor/AI/aiSignaledSpotBgmTrigger.h
blob: aafdb05bd25fe6824dafe4535218f79f805e1e50 (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
#pragma once

#include "KingSystem/ActorSystem/actAiAi.h"

namespace ksys::snd {

class SignaledSpotBgmTrigger : public ksys::act::ai::Ai {
    SEAD_RTTI_OVERRIDE(SignaledSpotBgmTrigger, ksys::act::ai::Ai)
public:
    explicit SignaledSpotBgmTrigger(const InitArg& arg);
    ~SignaledSpotBgmTrigger() 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* mIsStopWithoutReductionY_m{};
    // map_unit_param at offset 0x40
    sead::SafeString mSound_m{};
};

}  // namespace ksys::snd