diff options
| author | Léo Lam <leo@leolam.fr> | 2020-11-08 13:55:12 +0100 |
|---|---|---|
| committer | Léo Lam <leo@leolam.fr> | 2020-11-08 15:13:59 +0100 |
| commit | aa92bf882c41b292a9ee11b6ec5ba8593b4b4fc2 (patch) | |
| tree | 43276b3ef760144aafdd22d531176ff76a54c80e /src/KingSystem/Utils | |
| parent | 23ec19806c606e9a3c44f1b4360e421151362bef (diff) | |
ksys/act: Implement more ActorParam functions
Diffstat (limited to 'src/KingSystem/Utils')
| -rw-r--r-- | src/KingSystem/Utils/ParamIO.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/KingSystem/Utils/ParamIO.h b/src/KingSystem/Utils/ParamIO.h index 29907c37..58f14e55 100644 --- a/src/KingSystem/Utils/ParamIO.h +++ b/src/KingSystem/Utils/ParamIO.h @@ -13,9 +13,15 @@ public: virtual bool ParamIO_m0() { return false; } + bool applyResourceUpdate(const char* data, const char* data1); + + u32 getIdx() const { return mIdx; } + const sead::SafeString& getId() const { return mId; } + void setIndex(u32 idx) { mIdx = idx; } + protected: - u32 _1d8 = 0x1c; - sead::FixedSafeString<128> _1e0; + u32 mIdx = 0x1c; + sead::FixedSafeString<128> mId; }; KSYS_CHECK_SIZE_NX150(ParamIO, 0x278); |
