summaryrefslogtreecommitdiff
path: root/src/resources/db/itemdb.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-19 15:57:00 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-19 15:57:00 +0300
commit0fd434e3102a5aad5e6f24cf384f03c527ce7c04 (patch)
tree2a84dbf3c2b9d277696c7986ade9db8f2254c575 /src/resources/db/itemdb.h
parent2344f04e853234a762b545bad44a60209d54677f (diff)
downloadplus-0fd434e3102a5aad5e6f24cf384f03c527ce7c04.tar.gz
plus-0fd434e3102a5aad5e6f24cf384f03c527ce7c04.tar.bz2
plus-0fd434e3102a5aad5e6f24cf384f03c527ce7c04.tar.xz
plus-0fd434e3102a5aad5e6f24cf384f03c527ce7c04.zip
Move itemdb stat into separate file.
Diffstat (limited to 'src/resources/db/itemdb.h')
-rw-r--r--src/resources/db/itemdb.h14
1 files changed, 2 insertions, 12 deletions
diff --git a/src/resources/db/itemdb.h b/src/resources/db/itemdb.h
index 8a113cf6c..5328ecc59 100644
--- a/src/resources/db/itemdb.h
+++ b/src/resources/db/itemdb.h
@@ -25,6 +25,8 @@
#include "utils/stringvector.h"
+#include "resources/db/itemdbstat.h"
+
#include <map>
#include "localconsts.h"
@@ -57,18 +59,6 @@ namespace ItemDB
int getTagId(const std::string &tagName) A_WARN_UNUSED;
- struct Stat
- {
- Stat(const std::string &tag0,
- const std::string &format0) :
- tag(tag0),
- format(format0)
- {}
-
- std::string tag;
- std::string format;
- };
-
void setStatsList(const std::vector<Stat> &stats);
} // namespace ItemDB