mirror of https://github.com/zeldaret/botw.git
ksys/act: Add convenient default for InfoData::getString
This commit is contained in:
parent
bb3f05e209
commit
73329896f9
|
@ -127,7 +127,8 @@ public:
|
|||
bool getVariationMatAnim(const char* actor, const char** anim, f32* frame) const;
|
||||
bool getName(al::ByamlIter* iter, const char** name, s32 idx) const;
|
||||
|
||||
const char* getString(const char* actor, const char* key, const sead::SafeString& default_,
|
||||
const char* getString(const char* actor, const char* key,
|
||||
const sead::SafeString& default_ = sead::SafeString::cEmptyString,
|
||||
bool x = true) const;
|
||||
s32 getInt(const char* actor, const char* key, s32 default_ = 0, bool x = true) const;
|
||||
f32 getFloat(const char* actor, const char* key, f32 default_ = 0, bool x = true) const;
|
||||
|
@ -139,8 +140,9 @@ public:
|
|||
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_);
|
||||
static const char*
|
||||
getStringByKey(const al::ByamlIter& iter, const char* key,
|
||||
const sead::SafeString& default_ = sead::SafeString::cEmptyString);
|
||||
|
||||
private:
|
||||
struct DebugEntry {
|
||||
|
|
Loading…
Reference in New Issue