From 72ab5bc974b84df1476cea6ca346905174604a49 Mon Sep 17 00:00:00 2001 From: AL <26797547+Al12rs@users.noreply.github.com> Date: Tue, 8 Oct 2024 16:10:30 +0200 Subject: [PATCH] Remove header interface --- .../BaldursGate3/Utils/PakParsing/LspkPackageFormat.cs | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/src/Games/NexusMods.Games.Larian/BaldursGate3/Utils/PakParsing/LspkPackageFormat.cs b/src/Games/NexusMods.Games.Larian/BaldursGate3/Utils/PakParsing/LspkPackageFormat.cs index fb0005d50..788684d50 100644 --- a/src/Games/NexusMods.Games.Larian/BaldursGate3/Utils/PakParsing/LspkPackageFormat.cs +++ b/src/Games/NexusMods.Games.Larian/BaldursGate3/Utils/PakParsing/LspkPackageFormat.cs @@ -80,14 +80,9 @@ public class HeaderCommon public required byte[] Md5; } - internal interface ILSPKHeader - { - public HeaderCommon ToCommonHeader(); - } - #region Internal Header versions - internal struct LSPKHeader15 : ILSPKHeader + internal struct LSPKHeader15 { public UInt32 Version; public UInt64 FileListOffset; @@ -116,7 +111,7 @@ public readonly HeaderCommon ToCommonHeader() /// /// For both v16 and v18 /// - internal struct LSPKHeader16Or18 : ILSPKHeader + internal struct LSPKHeader16Or18 { public UInt32 Version; public UInt64 FileListOffset;