summaryrefslogtreecommitdiff
path: root/src/resources/db/unitsdb.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-31 21:27:52 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-31 21:27:52 +0300
commit35481061f62111f916a39ce3cac6a314579418f9 (patch)
treeecf73b207a78f9e35bb47f8ed1067931733090b7 /src/resources/db/unitsdb.h
parentaea9e7f8c26644ba38db5eb9dbf412195f9851b2 (diff)
downloadplus-35481061f62111f916a39ce3cac6a314579418f9.tar.gz
plus-35481061f62111f916a39ce3cac6a314579418f9.tar.bz2
plus-35481061f62111f916a39ce3cac6a314579418f9.tar.xz
plus-35481061f62111f916a39ce3cac6a314579418f9.zip
Load currency names for each npc from npcs.xml.
Diffstat (limited to 'src/resources/db/unitsdb.h')
-rw-r--r--src/resources/db/unitsdb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/resources/db/unitsdb.h b/src/resources/db/unitsdb.h
index b8c81cfc3..7a913cc16 100644
--- a/src/resources/db/unitsdb.h
+++ b/src/resources/db/unitsdb.h
@@ -51,6 +51,8 @@ class UnitsDb final
* Formats the given number in the correct weight/mass format.
*/
static std::string formatWeight(const int value) A_WARN_UNUSED;
+
+ static bool existsCurrency(const std::string &name) A_WARN_UNUSED;
};
#endif // RESOURCES_DB_UNITSDB_H