ksys/res: Implement GParamList System + General

This commit is contained in:
Léo Lam
2020-09-19 21:27:12 +02:00
parent 62880a0b1d
commit 5ff20fa250
5 changed files with 75 additions and 4 deletions
@@ -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