diff options
| author | Léo Lam <leo@leolam.fr> | 2021-01-21 23:57:37 +0100 |
|---|---|---|
| committer | Léo Lam <leo@leolam.fr> | 2021-01-22 00:14:41 +0100 |
| commit | 48276bb4e788e28c5b53f098471f8c8af03e6315 (patch) | |
| tree | bb461934744727ca2e1e562e2afe9eec3a43889f /src/KingSystem/ActorSystem/actInfoCommon.cpp | |
| parent | 7814fd527b259b5a7c499f4e78e956f789f65fdf (diff) | |
uking/ui: Implement material sorting for inventory
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 7dfd0070..cf1c189a 100644 --- a/src/KingSystem/ActorSystem/actInfoCommon.cpp +++ b/src/KingSystem/ActorSystem/actInfoCommon.cpp @@ -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"); } |
