Files
SabreTools.Serialization/SabreTools.Data.Models/Listxml/Input.cs
Matt Nadareski 7689c6dd07 Libraries
This change looks dramatic, but it's just separating out the already-split namespaces into separate top-level folders. In theory, every single one could be built into their own Nuget package. `SabreTools.Serialization` still builds the normal Nuget package that is used by all other projects and includes all namespaces.
2026-03-21 16:26:56 -04:00

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 string? Service { get; set; }
/// <remarks>(yes|no) "no"</remarks>
[XmlAttribute("tilt")]
public string? 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; }
}
}