mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
28 lines
658 B
C#
28 lines
658 B
C#
|
|
using System.Xml.Serialization;
|
||
|
|
using Newtonsoft.Json;
|
||
|
|
|
||
|
|
namespace SabreTools.Models.Internal
|
||
|
|
{
|
||
|
|
[JsonObject("condition"), XmlRoot("condition")]
|
||
|
|
public class Condition : DatItem
|
||
|
|
{
|
||
|
|
#region Keys
|
||
|
|
|
||
|
|
/// <remarks>string</remarks>
|
||
|
|
public const string ValueKey = "clock";
|
||
|
|
|
||
|
|
/// <remarks>string</remarks>
|
||
|
|
public const string MaskKey = "mask";
|
||
|
|
|
||
|
|
/// <remarks>(eq|ne|gt|le|lt|ge)</remarks>
|
||
|
|
public const string RelationKey = "relation";
|
||
|
|
|
||
|
|
/// <remarks>string</remarks>
|
||
|
|
public const string TagKey = "tag";
|
||
|
|
|
||
|
|
#endregion
|
||
|
|
|
||
|
|
public Condition() => Type = ItemType.Condition;
|
||
|
|
}
|
||
|
|
}
|