Implemented a function to save .dat file

This commit is contained in:
Sam
2014-01-21 11:10:02 +01:00
parent 53803b2218
commit f12ecd8404
5 changed files with 128 additions and 1 deletions

View File

@@ -41,6 +41,8 @@ public:
void loadXml(const std::string& file);
void parseItemType(uint16 id, TiXmlElement *elem);
void saveDat(std::string fileName);
void addItemType(const ItemTypePtr& itemType);
const ItemTypePtr& findItemTypeByClientId(uint16 id);
const ItemTypePtr& findItemTypeByName(std::string name);