ksys/act: Start adding actInfoCommon

This commit is contained in:
Léo Lam
2021-01-09 16:59:00 +01:00
parent 9069c4e9f8
commit 8569722db6
6 changed files with 205 additions and 37 deletions
+6 -3
View File
@@ -133,9 +133,12 @@ public:
f32 getFloat(const char* actor, const char* key, f32 default_ = 0, bool x = true) const;
bool getBool(const char* actor, const char* key, bool default_ = false, bool x = true) const;
static s32 getIntByKey(const al::ByamlIter& iter, const char* key, s32 default_ = 0);
static f32 getFloatByKey(const al::ByamlIter& iter, const char* key, f32 default_ = 0);
static bool getBoolByKey(const al::ByamlIter& iter, const char* key, bool default_ = false);
static s32 getIntByKey(const al::ByamlIter& iter, const char* key, s32 default_ = 0,
bool x = true);
static f32 getFloatByKey(const al::ByamlIter& iter, const char* key, f32 default_ = 0,
bool x = true);
static bool getBoolByKey(const al::ByamlIter& iter, const char* key, bool default_ = false,
bool x = true);
static const char* getStringByKey(const al::ByamlIter& iter, const char* key,
const sead::SafeString& default_);