mirror of
https://github.com/SabreTools/SabreTools.Serialization.git
synced 2026-04-05 22:01:33 +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.
38 lines
1.1 KiB
C#
38 lines
1.1 KiB
C#
namespace SabreTools.Data.Models.DVD
|
|
{
|
|
/// <summary>
|
|
/// The VMG_PTL_MAIT is searched by country, and points to
|
|
/// the table for each country.
|
|
/// </summary>
|
|
/// <see href="https://dvd.sourceforge.net/dvdinfo/ifo_vmg.html"/>
|
|
public sealed class ParentalManagementMasksTable
|
|
{
|
|
/// <summary>
|
|
/// Number of countries
|
|
/// </summary>
|
|
public ushort NumberOfCountries { get; set; }
|
|
|
|
/// <summary>
|
|
/// Number of title sets (NTs)
|
|
/// </summary>
|
|
public ushort NumberOfTitleSets { get; set; }
|
|
|
|
/// <summary>
|
|
/// End address (last byte of last PTL_MAIT)
|
|
/// </summary>
|
|
public uint EndAddress { get; set; }
|
|
|
|
/// <summary>
|
|
/// Entries
|
|
/// </summary>
|
|
public ParentalManagementMasksTableEntry[] Entries { get; set; } = [];
|
|
|
|
/// <summary>
|
|
/// The PTL_MAIT contains the 16-bit masks for the VMG and
|
|
/// all title sets for parental management level 8 followed
|
|
/// by the masks for level 7, and so on to level 1.
|
|
/// </summary>
|
|
public byte[][] BitMasks { get; set; } = [];
|
|
}
|
|
}
|