summaryrefslogtreecommitdiff
path: root/src/KingSystem/Sound/Actor/Action/actionEventBgmStartAndKeepAction.h
blob: 5e3c8f1da15026fddb5dec9b6a268ac6bed120e6 (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/actAiAction.h"

namespace ksys::snd {

class EventBgmStartAndKeepAction : public ksys::act::ai::Action {
    SEAD_RTTI_OVERRIDE(EventBgmStartAndKeepAction, ksys::act::ai::Action)
public:
    explicit EventBgmStartAndKeepAction(const InitArg& arg);
    ~EventBgmStartAndKeepAction() override;

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

protected:
    void calc_() override;

    // dynamic_param at offset 0x20
    sead::SafeString mBgmName_d{};
};

}  // namespace ksys::snd