mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-29 10:16:43 +00:00
46 lines
1.1 KiB
C#
46 lines
1.1 KiB
C#
using System.Xml.Serialization;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace SabreTools.Data.Models.Metadata
|
|
{
|
|
[JsonObject("dipswitch"), XmlRoot("dipswitch")]
|
|
public class DipSwitch : DatItem
|
|
{
|
|
#region Properties
|
|
|
|
public string? Name { get; set; }
|
|
|
|
#endregion
|
|
|
|
#region Keys
|
|
|
|
/// <remarks>Condition</remarks>
|
|
[NoFilter]
|
|
public const string ConditionKey = "condition";
|
|
|
|
/// <remarks>(yes|no) "no"</remarks>
|
|
public const string DefaultKey = "default";
|
|
|
|
/// <remarks>DipLocation[]</remarks>
|
|
[NoFilter]
|
|
public const string DipLocationKey = "diplocation";
|
|
|
|
/// <remarks>DipValue[]</remarks>
|
|
[NoFilter]
|
|
public const string DipValueKey = "dipvalue";
|
|
|
|
/// <remarks>string[]</remarks>
|
|
public const string EntryKey = "entry";
|
|
|
|
/// <remarks>string</remarks>
|
|
public const string MaskKey = "mask";
|
|
|
|
/// <remarks>string</remarks>
|
|
public const string TagKey = "tag";
|
|
|
|
#endregion
|
|
|
|
public DipSwitch() => ItemType = ItemType.DipSwitch;
|
|
}
|
|
}
|