// Copyright (c) 2023 Dominic Masters // // This software is released under the MIT License. // https://opensource.org/licenses/MIT #include "VNGoToMarkerEventParser.hpp" using namespace Dawn; std::vector VNGoToMarkerEventParser::getRequiredAttributes() { return { "name" }; } std::map VNGoToMarkerEventParser::getOptionalAttributes() { return {}; } int32_t VNGoToMarkerEventParser::onParse( Xml *node, std::map values, struct VNGoToMarkerEvent *out, std::string *error ) { out->name = values["name"]; return 0; }