diff options
| author | Léo Lam <leo@leolam.fr> | 2020-09-20 11:47:11 +0200 |
|---|---|---|
| committer | Léo Lam <leo@leolam.fr> | 2020-09-20 11:48:28 +0200 |
| commit | fa45c131994048c57aa21c65bfa6beea8bc51dec (patch) | |
| tree | e78a8b7a5283dbe33df4a3a07fff2ba82238b335 /src/KingSystem/Resource/GeneralParamList | |
| parent | 1a055d81da03084258b9ddfbc585e8eb85816cd0 (diff) | |
ksys/res: Implement GParamList BindActor
Diffstat (limited to 'src/KingSystem/Resource/GeneralParamList')
| -rw-r--r-- | src/KingSystem/Resource/GeneralParamList/resGParamListObjectBindActor.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/KingSystem/Resource/GeneralParamList/resGParamListObjectBindActor.h b/src/KingSystem/Resource/GeneralParamList/resGParamListObjectBindActor.h new file mode 100644 index 00000000..f8354254 --- /dev/null +++ b/src/KingSystem/Resource/GeneralParamList/resGParamListObjectBindActor.h @@ -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 |
