diff options
Diffstat (limited to 'src/resources/itemdb.h')
-rw-r--r-- | src/resources/itemdb.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/resources/itemdb.h b/src/resources/itemdb.h index 76e646c0f..19e36889e 100644 --- a/src/resources/itemdb.h +++ b/src/resources/itemdb.h @@ -23,6 +23,7 @@ #define ITEM_MANAGER_H #include <list> +#include <vector> #include <map> #include <string> @@ -49,6 +50,8 @@ namespace ItemDB */ void unload(); + const std::vector<std::string> &getTags(); + bool exists(int id); const ItemInfo &get(int id); @@ -60,6 +63,7 @@ namespace ItemDB const std::map<int, ItemInfo*> &getItemInfos(); + int getTagId(std::string tagName); struct Stat { Stat(const std::string &tag, |