Files

36 lines
931 B
C#
Raw Permalink Normal View History

2025-09-26 10:20:48 -04:00
using System.Xml;
using System.Xml.Serialization;
2025-09-26 13:06:18 -04:00
namespace SabreTools.Data.Models.Listxml
2025-09-26 10:20:48 -04:00
{
[XmlRoot("input")]
public class Input
{
/// <remarks>(yes|no) "no"</remarks>
[XmlAttribute("service")]
2026-04-01 21:59:16 -04:00
public bool? Service { get; set; }
2025-09-26 10:20:48 -04:00
/// <remarks>(yes|no) "no"</remarks>
[XmlAttribute("tilt")]
2026-04-01 21:59:16 -04:00
public bool? Tilt { get; set; }
2025-09-26 10:20:48 -04:00
[Required]
2025-09-26 10:20:48 -04:00
[XmlAttribute("players")]
public long? Players { get; set; }
2025-09-26 10:20:48 -04:00
/// <remarks>Only present in older versions</remarks>
[XmlAttribute("control")]
public string? ControlAttr { get; set; }
/// <remarks>Only present in older versions</remarks>
2025-09-26 10:20:48 -04:00
[XmlAttribute("buttons")]
public long? Buttons { get; set; }
2025-09-26 10:20:48 -04:00
[XmlAttribute("coins")]
public long? Coins { get; set; }
2025-09-26 10:20:48 -04:00
[XmlElement("control")]
public Control[]? Control { get; set; }
}
2026-01-27 12:03:01 -05:00
}