mirror of
https://github.com/SabreTools/SabreTools.Models.git
synced 2026-09-24 15:47:27 +00:00
22 lines
506 B
C#
22 lines
506 B
C#
using System.Runtime.InteropServices;
|
|
|
|
namespace SabreTools.Models.VPK
|
|
{
|
|
/// <see href="https://github.com/RavuAlHemio/hllib/blob/master/HLLib/VPKFile.h"/>
|
|
[StructLayout(LayoutKind.Sequential)]
|
|
public sealed class ArchiveHash
|
|
{
|
|
public uint ArchiveIndex;
|
|
|
|
public uint ArchiveOffset;
|
|
|
|
public uint Length;
|
|
|
|
/// <summary>
|
|
/// MD5
|
|
/// </summary>
|
|
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 0x10)]
|
|
public byte[]? Hash;
|
|
}
|
|
}
|