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