mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-19 12:43:17 +00:00
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.
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 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; }
|
|
}
|
|
}
|