mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
Start creating Dictionary-based internal models
This commit is contained in:
33
SabreTools.Models/Internal/Input.cs
Normal file
33
SabreTools.Models/Internal/Input.cs
Normal file
@@ -0,0 +1,33 @@
|
||||
using System.Xml.Serialization;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace SabreTools.Models.Internal
|
||||
{
|
||||
[JsonObject("input"), XmlRoot("input")]
|
||||
public class Input : DatItem
|
||||
{
|
||||
#region Keys
|
||||
|
||||
/// <remarks>long</remarks>
|
||||
public const string ButtonsKey = "buttons";
|
||||
|
||||
/// <remarks>long</remarks>
|
||||
public const string CoinsKey = "coins";
|
||||
|
||||
/// <remarks>string / Control[]</remarks>
|
||||
public const string ControlKey = "control";
|
||||
|
||||
/// <remarks>long</remarks>
|
||||
public const string PlayersKey = "players";
|
||||
|
||||
/// <remarks>(yes|no) "no"</remarks>
|
||||
public const string ServiceKey = "service";
|
||||
|
||||
/// <remarks>(yes|no) "no"</remarks>
|
||||
public const string TiltKey = "tilt";
|
||||
|
||||
#endregion
|
||||
|
||||
public Input() => Type = ItemType.Input;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user