mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-11 16:52:57 +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.
36 lines
1.1 KiB
C#
36 lines
1.1 KiB
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace SabreTools.Data.Models.N3DS
|
|
{
|
|
/// <see href="https://www.3dbrew.org/wiki/NCSD#Development_Card_Info_Header_Extension"/>
|
|
[StructLayout(LayoutKind.Sequential)]
|
|
public sealed class DevelopmentCardInfoHeader
|
|
{
|
|
/// <summary>
|
|
/// CardDeviceReserved1
|
|
/// </summary>
|
|
/// <remarks>0x200 bytes</remarks>
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 0x200)]
|
|
public byte[] CardDeviceReserved1 = new byte[0x200];
|
|
|
|
/// <summary>
|
|
/// TitleKey
|
|
/// </summary>
|
|
/// <remarks>0x10 bytes</remarks>
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 0x10)]
|
|
public byte[] TitleKey = new byte[0x10];
|
|
|
|
/// <summary>
|
|
/// CardDeviceReserved2
|
|
/// </summary>
|
|
/// <remarks>0x1BF0 bytes</remarks>
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 0x1BF0)]
|
|
public byte[] CardDeviceReserved2 = new byte[0x1BF0];
|
|
|
|
/// <summary>
|
|
/// TestData
|
|
/// </summary>
|
|
public TestData TestData = new();
|
|
}
|
|
}
|