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