2025-09-26 11:42:28 -04:00
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
|
|
2025-09-26 13:06:18 -04:00
|
|
|
namespace SabreTools.Data.Models.DVD
|
2025-09-26 11:42:28 -04:00
|
|
|
{
|
|
|
|
|
/// <see href="https://dvd.sourceforge.net/dvdinfo/ifo_vmg.html"/>
|
|
|
|
|
[StructLayout(LayoutKind.Sequential)]
|
|
|
|
|
public sealed class ProgramChainTableEntry
|
|
|
|
|
{
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// PGC category
|
|
|
|
|
/// </summary>
|
|
|
|
|
[MarshalAs(UnmanagedType.U1)]
|
|
|
|
|
public ProgramChainCategory Category;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Unknown
|
|
|
|
|
/// </summary>
|
|
|
|
|
public byte Unknown;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Parental management mask
|
|
|
|
|
/// </summary>
|
|
|
|
|
public ushort ParentalManagementMask;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// Offset to VMGM_PGC, relative to VMGM_LU
|
|
|
|
|
/// </summary>
|
|
|
|
|
public uint Offset;
|
|
|
|
|
}
|
2025-10-30 21:32:21 -04:00
|
|
|
}
|