mirror of
https://github.com/SabreTools/SabreTools.Models.git
synced 2026-02-16 21:40:10 +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;
|
|
}
|
|
}
|