summaryrefslogtreecommitdiff
path: root/src/KingSystem/Resource/GeneralParamList/resGParamListObjectSystem.h
diff options
context:
space:
mode:
authorLéo Lam <leo@leolam.fr>2020-09-19 21:27:12 +0200
committerLéo Lam <leo@leolam.fr>2020-09-19 22:06:52 +0200
commit5ff20fa250ef0523b02d4c614cfeb579665c85cb (patch)
tree79ae7d4b58c06478213fc39051a194e0a0c19592 /src/KingSystem/Resource/GeneralParamList/resGParamListObjectSystem.h
parent62880a0b1dd51c42276c6609cd7438eb6fd70fdc (diff)
ksys/res: Implement GParamList System + General
Diffstat (limited to 'src/KingSystem/Resource/GeneralParamList/resGParamListObjectSystem.h')
-rw-r--r--src/KingSystem/Resource/GeneralParamList/resGParamListObjectSystem.h26
1 files changed, 26 insertions, 0 deletions
diff --git a/src/KingSystem/Resource/GeneralParamList/resGParamListObjectSystem.h b/src/KingSystem/Resource/GeneralParamList/resGParamListObjectSystem.h
new file mode 100644
index 00000000..fcfaee37
--- /dev/null
+++ b/src/KingSystem/Resource/GeneralParamList/resGParamListObjectSystem.h
@@ -0,0 +1,26 @@
+#pragma once
+
+#include <agl/Utils/aglParameter.h>
+#include "KingSystem/Resource/GeneralParamList/resGParamListObject.h"
+#include "KingSystem/Utils/Types.h"
+
+namespace ksys::res {
+
+class GParamListObjectSystem : public GParamListObject {
+public:
+ GParamListObjectSystem();
+ const char* getName() const override { return "System"; }
+
+ agl::utl::Parameter<sead::SafeString> mSameGroupActorName;
+ agl::utl::Parameter<bool> mIsGetItemSelf;
+};
+KSYS_CHECK_SIZE_NX150(GParamListObjectSystem, 0x80);
+
+inline GParamListObjectSystem::GParamListObjectSystem() {
+ auto* const obj = &mObj;
+
+ mSameGroupActorName.init("", "SameGroupActorName", "", obj);
+ mIsGetItemSelf.init(false, "IsGetItemSelf", "", obj);
+}
+
+} // namespace ksys::res