2023-07-11 23:39:54 -04:00
|
|
|
using System.Xml;
|
|
|
|
|
using System.Xml.Serialization;
|
|
|
|
|
|
|
|
|
|
namespace SabreTools.Models.Listxml
|
|
|
|
|
{
|
|
|
|
|
[XmlRoot("mame")]
|
|
|
|
|
public class Mame
|
|
|
|
|
{
|
|
|
|
|
[XmlAttribute("build")]
|
|
|
|
|
public string? Build { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <remarks>(yes|no) "no"</remarks>
|
|
|
|
|
[XmlAttribute("debug")]
|
|
|
|
|
public string? Debug { get; set; }
|
|
|
|
|
|
2023-08-10 12:09:29 -04:00
|
|
|
[Required]
|
2023-07-11 23:39:54 -04:00
|
|
|
[XmlAttribute("mameconfig")]
|
2023-08-10 12:09:29 -04:00
|
|
|
public string? MameConfig { get; set; }
|
2023-07-11 23:39:54 -04:00
|
|
|
|
2023-07-14 11:09:57 -04:00
|
|
|
[XmlElement("machine", typeof(Machine))]
|
|
|
|
|
[XmlElement("game", typeof(Game))]
|
2023-08-10 12:09:29 -04:00
|
|
|
public GameBase[]? Game { get; set; }
|
2023-07-12 21:54:18 -04:00
|
|
|
|
|
|
|
|
#region DO NOT USE IN PRODUCTION
|
|
|
|
|
|
|
|
|
|
/// <remarks>Should be empty</remarks>
|
|
|
|
|
[XmlAnyAttribute]
|
|
|
|
|
public XmlAttribute[]? ADDITIONAL_ATTRIBUTES { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <remarks>Should be empty</remarks>
|
|
|
|
|
[XmlAnyElement]
|
|
|
|
|
public object[]? ADDITIONAL_ELEMENTS { get; set; }
|
|
|
|
|
|
|
|
|
|
#endregion
|
2023-07-11 23:39:54 -04:00
|
|
|
}
|
|
|
|
|
}
|