ksys/res: Implement GParamList BindActor

This commit is contained in:
Léo Lam
2020-09-20 11:47:11 +02:00
parent 1a055d81da
commit fa45c13199
4 changed files with 29 additions and 1 deletions
@@ -0,0 +1,25 @@
#pragma once
#include <agl/Utils/aglParameter.h>
#include "KingSystem/Resource/GeneralParamList/resGParamListObject.h"
#include "KingSystem/Utils/Types.h"
namespace ksys::res {
class GParamListObjectBindActor : public GParamListObject {
public:
GParamListObjectBindActor();
const char* getName() const override { return "BindActor"; }
agl::utl::Parameter<sead::SafeString> mBindActorName;
agl::utl::Parameter<bool> mIsKeepSleep;
};
inline GParamListObjectBindActor::GParamListObjectBindActor() {
auto* const obj = &mObj;
mBindActorName.init("", "BindActorName", "", obj);
mIsKeepSleep.init(false, "IsKeepSleep", "", obj);
}
} // namespace ksys::res