mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-16 19:23:04 +00:00
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.
32 lines
775 B
C#
32 lines
775 B
C#
using System.Xml.Serialization;
|
|
using Newtonsoft.Json;
|
|
|
|
namespace SabreTools.Data.Models.Metadata
|
|
{
|
|
[JsonObject("dataarea"), XmlRoot("dataarea")]
|
|
public class DataArea : DatItem
|
|
{
|
|
#region Keys
|
|
|
|
/// <remarks>(big|little) "little"</remarks>
|
|
public const string EndiannessKey = "endianness";
|
|
|
|
/// <remarks>string</remarks>
|
|
public const string NameKey = "name";
|
|
|
|
/// <remarks>Rom[]</remarks>
|
|
[NoFilter]
|
|
public const string RomKey = "rom";
|
|
|
|
/// <remarks>long</remarks>
|
|
public const string SizeKey = "size";
|
|
|
|
/// <remarks>(8|16|32|64) "8"</remarks>
|
|
public const string WidthKey = "width";
|
|
|
|
#endregion
|
|
|
|
public DataArea() => Type = ItemType.DataArea;
|
|
}
|
|
}
|