summaryrefslogtreecommitdiff
path: root/src/Game/Actor/Event/Action/actionEventSetGameDataIntAction.h
blob: baf7f75faaa4da7c49ab2fb7aa2877703147dcf4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#pragma once

#include "KingSystem/ActorSystem/actAiAction.h"

namespace uking::action {

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

    bool init_(sead::Heap* heap) override;
    void loadParams_() override;

protected:
    // dynamic_param at offset 0x20
    int* mValue_d{};
    // dynamic_param at offset 0x28
    sead::SafeString mGameDataIntName_d{};
};

}  // namespace uking::action