diff options
| author | Léo Lam <leo@leolam.fr> | 2021-01-21 14:01:41 +0100 |
|---|---|---|
| committer | Léo Lam <leo@leolam.fr> | 2021-01-21 18:12:04 +0100 |
| commit | 620eb2b39ea1f5172617b7400239fb77ba59b451 (patch) | |
| tree | 0d540129825e1b283c694b2b0100d62d5edfb189 /src/KingSystem/ActorSystem/actInfoCommon.cpp | |
| parent | 3b996a212cb43b2fe87cb48abff03b5c4ca32b58 (diff) | |
uking/ui: Add even more inventory functions
Diffstat (limited to 'src/KingSystem/ActorSystem/actInfoCommon.cpp')
| -rw-r--r-- | src/KingSystem/ActorSystem/actInfoCommon.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/KingSystem/ActorSystem/actInfoCommon.cpp b/src/KingSystem/ActorSystem/actInfoCommon.cpp index 8fd8fd54..7dfd0070 100644 --- a/src/KingSystem/ActorSystem/actInfoCommon.cpp +++ b/src/KingSystem/ActorSystem/actInfoCommon.cpp @@ -115,6 +115,14 @@ bool getWeaponCommonPoweredSharpAddSurfMaster(const al::ByamlIter& iter) { return InfoData::getBoolByKey(iter, "weaponCommonPoweredSharpAddSurfMaster"); } +const char* getArmorNextRankName(InfoData* data, const char* actor) { + return data->getString(actor, "armorNextRankName", sead::SafeString::cEmptyString); +} + +int getItemStainColor(InfoData* data, const char* actor) { + return data->getInt(actor, "itemStainColor", -1); +} + int getMonsterShopSellMamo(const al::ByamlIter& iter) { return InfoData::getIntByKey(iter, "monsterShopSellMamo"); } |
