mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-21 21:59:47 +00:00
35 lines
742 B
C#
35 lines
742 B
C#
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; }
|
|
|
|
/// <remarks>(yes|no) "no"</remarks>
|
|
public bool? Service { get; set; }
|
|
|
|
/// <remarks>(yes|no) "no"</remarks>
|
|
public bool? Tilt { get; set; }
|
|
|
|
#endregion
|
|
|
|
#region Keys
|
|
|
|
/// <remarks>string / Control[]</remarks>
|
|
public const string ControlKey = "control";
|
|
|
|
#endregion
|
|
|
|
public Input() => ItemType = ItemType.Input;
|
|
}
|
|
}
|