mirror of
https://github.com/SabreTools/SabreTools.Models.git
synced 2026-09-24 23:57:18 +00:00
29 lines
679 B
C#
29 lines
679 B
C#
|
|
using System.Xml.Serialization;
|
||
|
|
using Newtonsoft.Json;
|
||
|
|
|
||
|
|
namespace SabreTools.Models.Metadata
|
||
|
|
{
|
||
|
|
[JsonObject("dipvalue"), XmlRoot("dipvalue")]
|
||
|
|
public class DipValue : DatItem
|
||
|
|
{
|
||
|
|
#region Keys
|
||
|
|
|
||
|
|
/// <remarks>Condition</remarks>
|
||
|
|
[NoFilter]
|
||
|
|
public const string ConditionKey = "condition";
|
||
|
|
|
||
|
|
/// <remarks>(yes|no) "no"</remarks>
|
||
|
|
public const string DefaultKey = "default";
|
||
|
|
|
||
|
|
/// <remarks>string</remarks>
|
||
|
|
public const string NameKey = "name";
|
||
|
|
|
||
|
|
/// <remarks>string</remarks>
|
||
|
|
public const string ValueKey = "value";
|
||
|
|
|
||
|
|
#endregion
|
||
|
|
|
||
|
|
public DipValue() => Type = ItemType.DipValue;
|
||
|
|
}
|
||
|
|
}
|