mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-18 20:23:05 +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.
35 lines
986 B
C#
35 lines
986 B
C#
namespace SabreTools.Data.Models.Nitro
|
|
{
|
|
/// <summary>
|
|
/// Represents a DS/DSi cart image
|
|
/// </summary>
|
|
public class Cart
|
|
{
|
|
/// <summary>
|
|
/// DS/DSi cart header
|
|
/// </summary>
|
|
public CommonHeader CommonHeader { get; set; } = new();
|
|
|
|
/// <summary>
|
|
/// DSi extended cart header
|
|
/// </summary>
|
|
public ExtendedDSiHeader ExtendedDSiHeader { get; set; } = new();
|
|
|
|
/// <summary>
|
|
/// Secure area, may be encrypted or decrypted
|
|
/// </summary>
|
|
/// <remarks>0x800 bytes</remarks>
|
|
public byte[] SecureArea { get; set; } = new byte[0x800];
|
|
|
|
/// <summary>
|
|
/// Name table (folder allocation table, name list)
|
|
/// </summary>
|
|
public NameTable NameTable { get; set; } = new();
|
|
|
|
/// <summary>
|
|
/// File allocation table
|
|
/// </summary>
|
|
public FileAllocationTableEntry[] FileAllocationTable { get; set; } = [];
|
|
}
|
|
}
|