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.cpp | |
parent | 29181589eb79d3afdf337e2517b4fa43d8bbdd59 (diff) | |
download | mv-ce34b402281f75cb1e9d214c925382fdc522455b.tar.gz mv-ce34b402281f75cb1e9d214c925382fdc522455b.tar.bz2 mv-ce34b402281f75cb1e9d214c925382fdc522455b.tar.xz mv-ce34b402281f75cb1e9d214c925382fdc522455b.zip |
Move reading and combining item stats into separate file.
Diffstat (limited to 'src/resources/db/itemfielddb.cpp')
-rw-r--r-- | src/resources/db/itemfielddb.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/resources/db/itemfielddb.cpp b/src/resources/db/itemfielddb.cpp index 231582458..76ad26036 100644 --- a/src/resources/db/itemfielddb.cpp +++ b/src/resources/db/itemfielddb.cpp @@ -33,8 +33,8 @@ namespace { - ItemFieldDb::FieldInfos mRequiredInfos; - ItemFieldDb::FieldInfos mAddInfos; + ItemFieldInfos mRequiredInfos; + ItemFieldInfos mAddInfos; bool mLoaded = false; } // namespace @@ -52,8 +52,8 @@ void ItemFieldDb::load() } static void loadFields(XmlNodeConstPtr groupNode, - ItemFieldDb::FieldInfos &fields1, - ItemFieldDb::FieldInfos &fields2) + ItemFieldInfos &fields1, + ItemFieldInfos &fields2) { for_each_xml_child_node(node, groupNode) { @@ -142,12 +142,12 @@ void ItemFieldDb::unload() mLoaded = false; } -const ItemFieldDb::FieldInfos &ItemFieldDb::getRequiredFields() +const ItemFieldInfos &ItemFieldDb::getRequiredFields() { return mRequiredInfos; } -const ItemFieldDb::FieldInfos &ItemFieldDb::getAddFields() +const ItemFieldInfos &ItemFieldDb::getAddFields() { return mAddInfos; } |