using System.Xml.Serialization; using Newtonsoft.Json; namespace SabreTools.Data.Models.Metadata { [JsonObject("input"), XmlRoot("input")] public class Input : DatItem { #region Properties public long? Buttons { get; set; } public long? Coins { get; set; } public long? Players { get; set; } /// (yes|no) "no" public bool? Service { get; set; } /// (yes|no) "no" public bool? Tilt { get; set; } #endregion #region Keys /// string / Control[] public const string ControlKey = "control"; #endregion public Input() => ItemType = ItemType.Input; } }