// Copyright (c) 2023 Dominic Masters // // This software is released under the MIT License. // https://opensource.org/licenses/MIT #pragma once #include "util/XmlParser.hpp" namespace Dawn { struct VNSceneItem { std::string ref; std::string prefab; std::string className; }; class VNSceneItemParser : public XmlParser { protected: std::vector getRequiredAttributes() override; std::map getOptionalAttributes() override; int32_t onParse( Xml *node, std::map values, struct VNSceneItem *out, std::string *error ) override; }; }