Files
Matt Nadareski 7689c6dd07 Libraries
This change looks dramatic, but it's just separating out the already-split namespaces into separate top-level folders. In theory, every single one could be built into their own Nuget package. `SabreTools.Serialization` still builds the normal Nuget package that is used by all other projects and includes all namespaces.
2026-03-21 16:26:56 -04:00

58 lines
1.5 KiB
C#

using System.Xml.Serialization;
using Newtonsoft.Json;
namespace SabreTools.Data.Models.Metadata
{
[JsonObject("display"), XmlRoot("display")]
public class Display : DatItem
{
#region Keys
/// <remarks>(yes|no) "no"</remarks>
public const string FlipXKey = "flipx";
/// <remarks>long</remarks>
public const string HBEndKey = "hbend";
/// <remarks>long</remarks>
public const string HBStartKey = "hbstart";
/// <remarks>long</remarks>
public const string HeightKey = "height";
/// <remarks>long</remarks>
public const string HTotalKey = "htotal";
/// <remarks>long</remarks>
public const string PixClockKey = "pixclock";
/// <remarks>double</remarks>
public const string RefreshKey = "refresh";
/// <remarks>(0|90|180|270)</remarks>
public const string RotateKey = "rotate";
/// <remarks>string</remarks>
public const string TagKey = "tag";
/// <remarks>(raster|vector|lcd|svg|unknown)</remarks>
public const string DisplayTypeKey = "type";
/// <remarks>long</remarks>
public const string VBEndKey = "vbend";
/// <remarks>long</remarks>
public const string VBStartKey = "vbstart";
/// <remarks>long</remarks>
public const string VTotalKey = "vtotal";
/// <remarks>long</remarks>
public const string WidthKey = "width";
#endregion
public Display() => Type = ItemType.Display;
}
}