Files
SabreTools.Models/SafeDisc/EncryptedFileEntry.cs

34 lines
722 B
C#
Raw Normal View History

2024-04-23 13:30:43 -04:00
using System.Runtime.InteropServices;
namespace SabreTools.Models.SafeDisc
{
/// <see href="http://blog.w4kfu.com/tag/safedisc"/>
2024-04-23 13:30:43 -04:00
[StructLayout(LayoutKind.Sequential)]
public class EncryptedFileEntry
{
/// <summary>
/// 0xA8726B03
/// </summary>
2024-04-23 13:30:43 -04:00
public uint Signature1;
/// <summary>
/// 0xEF01996C
/// </summary>
2024-04-23 13:30:43 -04:00
public uint Signature2;
2024-04-23 13:30:43 -04:00
public uint FileNumber;
2024-04-23 13:30:43 -04:00
public uint Offset1;
2024-04-23 13:30:43 -04:00
public uint Offset2;
2024-04-23 13:30:43 -04:00
public uint Unknown1;
2024-04-23 13:30:43 -04:00
public uint Unknown2;
2024-04-23 13:30:43 -04:00
/// <remarks>0x0D bytes</remarks>
[MarshalAs(UnmanagedType.ByValArray, SizeConst = 0x0D)]
public byte[]? Name;
}
}