mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-09-22 14:55:11 +00:00
First round of cleanup for DolphinLib additions
This commit is contained in:
23
SabreTools.Data.Models/NintendoDisc/WiiPartitionGroup.cs
Normal file
23
SabreTools.Data.Models/NintendoDisc/WiiPartitionGroup.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
namespace SabreTools.Data.Models.NintendoDisc
|
||||
{
|
||||
public class WiiPartitionGroup
|
||||
{
|
||||
/// <summary>
|
||||
/// Number of entries in the group
|
||||
/// </summary>
|
||||
/// <remarks>Big-endian</remarks>
|
||||
public uint Count { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Offset to the start of the table
|
||||
/// </summary>
|
||||
/// <remarks>Big-endian, requires left bit shift of 2 to get the real value</remarks>
|
||||
public uint Offset { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Entries for the group, stored at <see cref="Offset"/>
|
||||
/// </summary>
|
||||
/// <remarks>Number of entries determined by <see cref="Count"/></remarks>
|
||||
public WiiPartitionTableEntry[] Entries { get; set; } = [];
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user