Files
SabreTools.Serialization/SabreTools.Data.Models/Nitro/Cart.cs
Matt Nadareski 7689c6dd07 Libraries
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.
2026-03-21 16:26:56 -04:00

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; } = [];
}
}