uking/ui: Implement material sorting for inventory

This commit is contained in:
Léo Lam
2021-01-21 23:57:37 +01:00
parent 7814fd527b
commit 48276bb4e7
6 changed files with 65 additions and 5 deletions
@@ -123,6 +123,14 @@ int getItemStainColor(InfoData* data, const char* actor) {
return data->getInt(actor, "itemStainColor", -1);
}
int getCureItemHitPointRecover(InfoData* data, const char* actor) {
return data->getInt(actor, "cureItemHitPointRecover");
}
int getCureItemHitPointRecover(const al::ByamlIter& iter) {
return InfoData::getIntByKey(iter, "cureItemHitPointRecover");
}
int getMonsterShopSellMamo(const al::ByamlIter& iter) {
return InfoData::getIntByKey(iter, "monsterShopSellMamo");
}