using System.Runtime.InteropServices; namespace BurnOutSharp.Models.MoPaQ { /// /// This structure contains size of the patch, flags and also MD5 of the patch. /// /// [StructLayout(LayoutKind.Sequential)] public class PatchInfo { /// /// Length of patch info header, in bytes /// public uint Length; /// /// Flags. 0x80000000 = MD5 (?) /// public uint Flags; /// /// Uncompressed size of the patch file /// public uint DataSize; /// /// MD5 of the entire patch file after decompression /// /// 0x10 bytes public byte[] MD5; /// /// The sector offset table (variable length) /// public uint[] SectorOffsetTable; } }