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.
26 lines
793 B
C#
26 lines
793 B
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace SabreTools.Data.Models.N3DS
|
|
{
|
|
/// <see href="https://www.3dbrew.org/wiki/NCCH/Extended_Header#Access_Control_Info"/>
|
|
[StructLayout(LayoutKind.Sequential)]
|
|
public sealed class AccessControlInfo
|
|
{
|
|
/// <summary>
|
|
/// ARM11 local system capabilities
|
|
/// </summary>
|
|
public ARM11LocalSystemCapabilities ARM11LocalSystemCapabilities = new();
|
|
|
|
/// <summary>
|
|
/// ARM11 kernel capabilities
|
|
/// </summary>
|
|
public ARM11KernelCapabilities ARM11KernelCapabilities = new();
|
|
|
|
/// <summary>
|
|
/// ARM9 access control
|
|
/// </summary>
|
|
/// TODO: Fix serialization issue with this type
|
|
public ARM9AccessControl ARM9AccessControl = new();
|
|
}
|
|
}
|