summaryrefslogtreecommitdiff
path: root/src/Game/Actor/Event/Action/actionEventIncreaseGameDataIntAction.h
blob: a01d59f5d2a3cfb32678e8745e49f50f7525b7aa (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 EventIncreaseGameDataIntAction : public ksys::act::ai::Action {
    SEAD_RTTI_OVERRIDE(EventIncreaseGameDataIntAction, ksys::act::ai::Action)
public:
    explicit EventIncreaseGameDataIntAction(const InitArg& arg);
    ~EventIncreaseGameDataIntAction() 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