diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-02-10 05:09:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-02-11 04:28:43 +0300 |
commit | ce34b402281f75cb1e9d214c925382fdc522455b (patch) | |
tree | 6d2cb57028ad67449da2ab4f95ef7f562d1d4823 /src/resources/db/itemfielddb.h | |
parent | 29181589eb79d3afdf337e2517b4fa43d8bbdd59 (diff) | |
download | plus-ce34b402281f75cb1e9d214c925382fdc522455b.tar.gz plus-ce34b402281f75cb1e9d214c925382fdc522455b.tar.bz2 plus-ce34b402281f75cb1e9d214c925382fdc522455b.tar.xz plus-ce34b402281f75cb1e9d214c925382fdc522455b.zip |
Move reading and combining item stats into separate file.
Diffstat (limited to 'src/resources/db/itemfielddb.h')
-rw-r--r-- | src/resources/db/itemfielddb.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/resources/db/itemfielddb.h b/src/resources/db/itemfielddb.h index bd05aad7f..8d88fef84 100644 --- a/src/resources/db/itemfielddb.h +++ b/src/resources/db/itemfielddb.h @@ -23,6 +23,8 @@ #include "enums/simpletypes/skiperror.h" +#include "resources/itemfieldinfos.h" + #include <map> #include <string> @@ -39,11 +41,9 @@ namespace ItemFieldDb void loadXmlFile(const std::string &fileName, const SkipError skipError); - typedef std::map<std::string, ItemFieldType*> FieldInfos; - - const FieldInfos &getRequiredFields(); + const ItemFieldInfos &getRequiredFields(); - const FieldInfos &getAddFields(); + const ItemFieldInfos &getAddFields(); } // namespace ItemFieldDb #endif // RESOURCES_DB_ITEMFIELDDB_H |