2023-07-11 23:39:54 -04:00
|
|
|
using System.Xml;
|
|
|
|
|
using System.Xml.Serialization;
|
|
|
|
|
|
|
|
|
|
namespace SabreTools.Models.Listxml
|
|
|
|
|
{
|
|
|
|
|
[XmlRoot("input")]
|
|
|
|
|
public class Input
|
|
|
|
|
{
|
|
|
|
|
/// <remarks>(yes|no) "no"</remarks>
|
|
|
|
|
[XmlAttribute("service")]
|
|
|
|
|
public string? Service { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <remarks>(yes|no) "no"</remarks>
|
|
|
|
|
[XmlAttribute("tilt")]
|
|
|
|
|
public string? Tilt { get; set; }
|
|
|
|
|
|
2023-08-01 11:48:28 -04:00
|
|
|
/// <remarks>Numeric</remarks>
|
2023-07-11 23:39:54 -04:00
|
|
|
[XmlAttribute("players")]
|
|
|
|
|
public string Players { get; set; }
|
|
|
|
|
|
2023-07-14 11:09:57 -04:00
|
|
|
/// <remarks>Only present in older versions</remarks>
|
|
|
|
|
[XmlAttribute("control")]
|
|
|
|
|
public string? ControlAttr { get; set; }
|
|
|
|
|
|
|
|
|
|
/// <remarks>Only present in older versions, Numeric?</remarks>
|
|
|
|
|
[XmlAttribute("buttons")]
|
2023-08-01 12:03:12 -04:00
|
|
|
public string? Buttons { get; set; }
|
2023-07-14 11:09:57 -04:00
|
|
|
|
2023-07-11 23:39:54 -04:00
|
|
|
/// <remarks>Numeric?</remarks>
|
|
|
|
|
[XmlAttribute("coins")]
|
|
|
|
|
public string? Coins { get; set; }
|
|
|
|
|
|
|
|
|
|
[XmlElement("control")]
|
|
|
|
|
public Control[]? Control { 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
|
|
|
}
|
|
|
|
|
}
|