mirror of
https://github.com/claunia/SabreTools.git
synced 2025-12-16 19:14:27 +00:00
29 lines
694 B
C#
29 lines
694 B
C#
using System.Xml.Serialization;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace SabreTools.Models.Internal
|
|
{
|
|
[JsonObject("confsetting"), XmlRoot("confsetting")]
|
|
public class ConfSetting : 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 ConfSetting() => Type = ItemType.ConfSetting;
|
|
}
|
|
}
|