| 31 | } |
| 32 | |
| 33 | void SkinExportSerializer::serialization(pugi::xml_document& _doc) |
| 34 | { |
| 35 | pugi::xml_node root = _doc.append_child("MyGUI"); |
| 36 | root.append_attribute("type").set_value("Resource"); |
| 37 | root.append_attribute("version").set_value("1.1"); |
| 38 | |
| 39 | DataPtr data = DataManager::getInstance().getRoot(); |
| 40 | for (const auto& child : data->getChilds()) |
| 41 | writeSkin(root, child); |
| 42 | } |
| 43 | |
| 44 | bool SkinExportSerializer::deserialization(pugi::xml_document& _doc) |
| 45 | { |
no test coverage detected