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.
23 lines
783 B
C#
23 lines
783 B
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace SabreTools.Data.Models.N3DS
|
|
{
|
|
/// <see href="https://www.3dbrew.org/wiki/NCCH/Extended_Header#ARM9_Access_Control"/>
|
|
[StructLayout(LayoutKind.Sequential)]
|
|
public sealed class ARM9AccessControl
|
|
{
|
|
/// <summary>
|
|
/// Descriptors
|
|
/// </summary>
|
|
/// <remarks>15 bytes</remarks>
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 15)]
|
|
public ARM9AccessControlDescriptors[] Descriptors = new ARM9AccessControlDescriptors[15];
|
|
|
|
/// <summary>
|
|
/// ARM9 Descriptor Version. Originally this value had to be ≥ 2.
|
|
/// Starting with 9.3.0-X this value has to be either value 2 or value 3.
|
|
/// </summary>
|
|
public byte DescriptorVersion;
|
|
}
|
|
}
|