using System.Xml;
using System.Xml.Serialization;
namespace SabreTools.Models.Listxml
{
[XmlRoot("mame")]
public class Mame
{
[XmlAttribute("build")]
public string? Build { get; set; }
/// (yes|no) "no"
[XmlAttribute("debug")]
public string? Debug { get; set; }
[Required]
[XmlAttribute("mameconfig")]
public string? MameConfig { get; set; }
[XmlElement("machine", typeof(Machine))]
[XmlElement("game", typeof(Game))]
public GameBase[]? Game { get; set; }
#region DO NOT USE IN PRODUCTION
/// Should be empty
[XmlAnyAttribute]
public XmlAttribute[]? ADDITIONAL_ATTRIBUTES { get; set; }
/// Should be empty
[XmlAnyElement]
public object[]? ADDITIONAL_ELEMENTS { get; set; }
#endregion
}
}