namespace SabreTools.Data.Models.WIA
{
///
/// Represents a parsed WIA or RVZ compressed disc image.
/// Contains the two headers and all lookup tables.
/// Actual group (compressed block) data is accessed via the source stream.
///
public class DiscImage
{
///
/// WIA / RVZ primary header (0x48 bytes)
///
public WiaHeader1 Header1 { get; set; } = new();
///
/// WIA / RVZ secondary header (0xDC bytes)
///
public WiaHeader2 Header2 { get; set; } = new();
///
/// Wii partition entries. Null or empty for GameCube discs.
///
public PartitionEntry[]? PartitionEntries { get; set; }
///
/// Raw (non-partition) data region entries
///
public RawDataEntry[] RawDataEntries { get; set; } = [];
///
/// WIA group entries (populated for WIA files)
///
public WiaGroupEntry[]? GroupEntries { get; set; }
///
/// RVZ group entries (populated for RVZ files)
///
public RvzGroupEntry[]? RvzGroupEntries { get; set; }
}
}