Files
SabreTools.Models/SFFS/FileEntry.cs
Matt Nadareski 41a90278d5 Remove LayoutKind.Sequential
This may be replaced in the future when byte-serialzable types are more well-defined
2023-09-10 21:33:22 -04:00

22 lines
579 B
C#

namespace SabreTools.Models.SFFS
{
/// <see href="https://forum.xentax.com/viewtopic.php?f=21&t=2084"/>
public sealed class FileEntry
{
/// <summary>
/// MD5 hash of filename (not encrypted,)
/// </summary>
/// <remarks>0x10 bytes</remarks>
#if NET48
public byte[] FilenameMD5Hash { get; set; }
#else
public byte[]? FilenameMD5Hash { get; set; }
#endif
/// <summary>
/// Index of fileheader (encrypted with filename)
/// </summary>
public ulong FileHeaderIndex { get; set; }
}
}