From 61457582b383b3e929fb8759fc277a2db723b66d Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Tue, 10 Jan 2023 12:23:48 -0800 Subject: [PATCH] More summary info fleshing out --- BurnOutSharp.Models/CFB/SummaryInformation.cs | 46 +++++++++++++++++-- 1 file changed, 41 insertions(+), 5 deletions(-) diff --git a/BurnOutSharp.Models/CFB/SummaryInformation.cs b/BurnOutSharp.Models/CFB/SummaryInformation.cs index 8b8edba7..680b456f 100644 --- a/BurnOutSharp.Models/CFB/SummaryInformation.cs +++ b/BurnOutSharp.Models/CFB/SummaryInformation.cs @@ -2,9 +2,11 @@ using System; namespace BurnOutSharp.Models.CFB { - /// + /// public sealed class SummaryInformation { + #region Set Header + /// /// This field MUST be set to 0xFFFE. This field is a byte order mark for /// all integer fields, specifying little-endian byte order. @@ -12,9 +14,33 @@ namespace BurnOutSharp.Models.CFB public ushort ByteOrder; /// - /// 26 bytes of unknown data + /// Format /// - public byte[] Unknown1; + public ushort Format; + + /// + /// Build + /// + public ushort Build; + + /// + /// Platform ID + /// + public ushort PlatformID; + + /// + /// CLSID + /// + public Guid CLSID; + + /// + /// 4 bytes of reserved data + /// + public byte[] Reserved; + + #endregion + + #region Format Header /// /// Format ID, should be @@ -24,7 +50,11 @@ namespace BurnOutSharp.Models.CFB /// /// 16 bytes of unknown data /// - public byte[] Unknown2; + public byte[] Unknown; + + #endregion + + #region Section Header /// /// Location of the section @@ -41,6 +71,12 @@ namespace BurnOutSharp.Models.CFB /// public uint PropertyCount; - // Followed by an array of variants + /// + /// Properties + /// + /// Each Variant might be followed by an index and offset value + public Variant[] Properties; + + #endregion } } \ No newline at end of file