mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-18 04:03:09 +00:00
38 lines
1.0 KiB
C#
38 lines
1.0 KiB
C#
using System.Xml;
|
|
using System.Xml.Serialization;
|
|
|
|
namespace SabreTools.Data.Models.Listxml
|
|
{
|
|
[XmlRoot("input")]
|
|
public class Input
|
|
{
|
|
/// <remarks>(yes|no) "no"</remarks>
|
|
[XmlAttribute("service")]
|
|
public bool? Service { get; set; }
|
|
|
|
/// <remarks>(yes|no) "no"</remarks>
|
|
[XmlAttribute("tilt")]
|
|
public bool? Tilt { get; set; }
|
|
|
|
/// <remarks>Numeric</remarks>
|
|
[Required]
|
|
[XmlAttribute("players")]
|
|
public string? Players { get; set; }
|
|
|
|
/// <remarks>Only present in older versions</remarks>
|
|
[XmlAttribute("control")]
|
|
public string? ControlAttr { get; set; }
|
|
|
|
/// <remarks>Only present in older versions, Numeric?</remarks>
|
|
[XmlAttribute("buttons")]
|
|
public string? Buttons { get; set; }
|
|
|
|
/// <remarks>Numeric?</remarks>
|
|
[XmlAttribute("coins")]
|
|
public string? Coins { get; set; }
|
|
|
|
[XmlElement("control")]
|
|
public Control[]? Control { get; set; }
|
|
}
|
|
}
|