uking/ui: Add even more inventory functions

This commit is contained in:
Léo Lam
2021-01-21 14:01:41 +01:00
parent 3b996a212c
commit 620eb2b39e
10 changed files with 473 additions and 94 deletions
@@ -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");
}