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:
21
SabreTools.Models/Internal/Slot.cs
Normal file
21
SabreTools.Models/Internal/Slot.cs
Normal file
@@ -0,0 +1,21 @@
|
||||
using System.Xml.Serialization;
|
||||
using Newtonsoft.Json;
|
||||
|
||||
namespace SabreTools.Models.Internal
|
||||
{
|
||||
[JsonObject("slot"), XmlRoot("slot")]
|
||||
public class Slot : DatItem
|
||||
{
|
||||
#region Keys
|
||||
|
||||
/// <remarks>string</remarks>
|
||||
public const string NameKey = "name";
|
||||
|
||||
/// <remarks>SlotOption[]</remarks>
|
||||
public const string SlotOptionKey = "slotoption";
|
||||
|
||||
#endregion
|
||||
|
||||
public Slot() => Type = ItemType.Slot;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user