Files
SabreTools.Serialization/SabreTools.Data.Models/DVD/ParentalManagementMasksTable.cs

38 lines
1.1 KiB
C#
Raw Normal View History

2025-09-26 13:06:18 -04:00
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; } = [];
}
2025-10-30 21:32:21 -04:00
}