summaryrefslogtreecommitdiff
path: root/src/Game/Actor/Event/Action/actionEventIncreaseGameDataIntAction.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Game/Actor/Event/Action/actionEventIncreaseGameDataIntAction.cpp')
-rw-r--r--src/Game/Actor/Event/Action/actionEventIncreaseGameDataIntAction.cpp19
1 files changed, 19 insertions, 0 deletions
diff --git a/src/Game/Actor/Event/Action/actionEventIncreaseGameDataIntAction.cpp b/src/Game/Actor/Event/Action/actionEventIncreaseGameDataIntAction.cpp
new file mode 100644
index 00000000..c7f63ad8
--- /dev/null
+++ b/src/Game/Actor/Event/Action/actionEventIncreaseGameDataIntAction.cpp
@@ -0,0 +1,19 @@
+#include "Game/Actor/Event/Action/actionEventIncreaseGameDataIntAction.h"
+
+namespace uking::action {
+
+EventIncreaseGameDataIntAction::EventIncreaseGameDataIntAction(const InitArg& arg)
+ : ksys::act::ai::Action(arg) {}
+
+EventIncreaseGameDataIntAction::~EventIncreaseGameDataIntAction() = default;
+
+bool EventIncreaseGameDataIntAction::init_(sead::Heap* heap) {
+ return ksys::act::ai::Action::init_(heap);
+}
+
+void EventIncreaseGameDataIntAction::loadParams_() {
+ getDynamicParam(&mValue_d, "Value");
+ getDynamicParam(&mGameDataIntName_d, "GameDataIntName");
+}
+
+} // namespace uking::action