mirror of
https://github.com/SabreTools/SabreTools.Models.git
synced 2026-09-24 15:47:27 +00:00
26 lines
643 B
C#
26 lines
643 B
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace SabreTools.Models.PAK
|
|
{
|
|
/// <see href="https://github.com/RavuAlHemio/hllib/blob/master/HLLib/PAKFile.h"/>
|
|
[StructLayout(LayoutKind.Sequential, CharSet = CharSet.Ansi)]
|
|
public sealed class DirectoryItem
|
|
{
|
|
/// <summary>
|
|
/// Item Name
|
|
/// </summary>
|
|
[MarshalAs(UnmanagedType.ByValTStr, SizeConst = 56)]
|
|
public string? ItemName;
|
|
|
|
/// <summary>
|
|
/// Item Offset
|
|
/// </summary>
|
|
public uint ItemOffset;
|
|
|
|
/// <summary>
|
|
/// Item Length
|
|
/// </summary>
|
|
public uint ItemLength;
|
|
}
|
|
}
|