2022-12-14 23:16:37 -08:00
|
|
|
|
using System.Runtime.InteropServices;
|
|
|
|
|
|
|
2023-03-07 16:59:14 -05:00
|
|
|
|
namespace BinaryObjectScanner.Models.SFFS
|
2022-12-14 23:16:37 -08:00
|
|
|
|
{
|
2022-12-27 17:12:55 -08:00
|
|
|
|
/// <see href="https://forum.xentax.com/viewtopic.php?f=21&t=2084"/>
|
2022-12-14 23:16:37 -08:00
|
|
|
|
[StructLayout(LayoutKind.Sequential)]
|
2022-12-27 17:12:55 -08:00
|
|
|
|
public sealed class FileEntry
|
2022-12-14 23:16:37 -08:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// MD5 hash of filename (not encrypted,)
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
/// <remarks>0x10 bytes</remarks>
|
|
|
|
|
|
public byte[] FilenameMD5Hash;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Index of fileheader (encrypted with filename)
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
public ulong FileHeaderIndex;
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|