mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-05 22:01:33 +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.
38 lines
1.1 KiB
C#
38 lines
1.1 KiB
C#
namespace SabreTools.Data.Models.SNES
|
|
{
|
|
/// <summary>
|
|
/// Super Wild Card (SWC) header
|
|
/// </summary>
|
|
/// <see href="https://www.raphnet.net/divers/documentation/Sneskart.txt"/>
|
|
public class SuperWildCardHeader : Header
|
|
{
|
|
/// <summary>
|
|
/// Size word
|
|
/// </summary>
|
|
/// <remarks>Little-endian</remarks>
|
|
public ushort Size { get; set; }
|
|
|
|
/// <summary>
|
|
/// Image information byte
|
|
/// </summary>
|
|
public SWCImageInformation ImageInformation { get; set; }
|
|
|
|
/// <summary>
|
|
/// Reserved
|
|
/// </summary>
|
|
/// <remarks>4 bytes</remarks>
|
|
public byte[] Reserved1 { get; set; } = new byte[4];
|
|
|
|
/// <summary>
|
|
/// SWC header identifier (0xAA, 0xBB, 0x04)
|
|
/// </summary>
|
|
public byte[] HeaderIdentifier { get; set; } = new byte[3];
|
|
|
|
/// <summary>
|
|
/// Padding to get to 512 bytes
|
|
/// </summary>
|
|
/// <remarks>502 bytes</remarks>
|
|
public byte[] Padding { get; set; } = new byte[502];
|
|
}
|
|
}
|