mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
28 lines
660 B
C#
28 lines
660 B
C#
|
|
using System.Xml.Serialization;
|
||
|
|
using Newtonsoft.Json;
|
||
|
|
|
||
|
|
namespace SabreTools.Models.Internal
|
||
|
|
{
|
||
|
|
[JsonObject("dipvalue"), XmlRoot("dipvalue")]
|
||
|
|
public class DipValue : DatItem
|
||
|
|
{
|
||
|
|
#region Keys
|
||
|
|
|
||
|
|
/// <remarks>Condition</remarks>
|
||
|
|
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;
|
||
|
|
}
|
||
|
|
}
|