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