mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-07-09 10:26:59 +00:00
26 lines
825 B
C#
26 lines
825 B
C#
namespace SabreTools.Data.Models.WIA
|
|
{
|
|
/// <summary>
|
|
/// Describes a single Wii partition: its AES title key and two sector ranges.
|
|
/// Size: 0x30 bytes.
|
|
/// </summary>
|
|
public sealed class PartitionEntry
|
|
{
|
|
/// <summary>
|
|
/// Decrypted AES-128 partition title key
|
|
/// </summary>
|
|
/// <remarks>16 bytes</remarks>
|
|
public byte[] PartitionKey { get; set; } = new byte[16];
|
|
|
|
/// <summary>
|
|
/// First sector range for this partition (typically encrypted data)
|
|
/// </summary>
|
|
public PartitionDataEntry DataEntry0 { get; set; } = new();
|
|
|
|
/// <summary>
|
|
/// Second sector range for this partition (typically decrypted/raw data)
|
|
/// </summary>
|
|
public PartitionDataEntry DataEntry1 { get; set; } = new();
|
|
}
|
|
}
|