From 9566ab6106f67fa6f650c462172ea82de77c1569 Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Sun, 12 Jan 2025 20:50:40 -0500 Subject: [PATCH] Reduce overloads for CreateDatfile again --- SabreTools.DatFiles/DatFileTool.cs | 21 +++------------------ 1 file changed, 3 insertions(+), 18 deletions(-) diff --git a/SabreTools.DatFiles/DatFileTool.cs b/SabreTools.DatFiles/DatFileTool.cs index 323938a0..b7d77fbe 100644 --- a/SabreTools.DatFiles/DatFileTool.cs +++ b/SabreTools.DatFiles/DatFileTool.cs @@ -31,28 +31,13 @@ namespace SabreTools.DatFiles #region Creation - /// - /// Create a generic DatFile to be used - /// - /// A default Logiqx DatFile - public static DatFile CreateDatFile() - => CreateDatFile(DatFormat.Logiqx, baseDat: null); - - /// - /// Create a specific type of DatFile to be used based on a format - /// - /// Format of the DAT to be created - /// DatFile of the specific internal type - public static DatFile CreateDatFile(DatFormat datFormat) - => CreateDatFile(datFormat, baseDat: null); - /// /// Create a specific type of DatFile to be used based on a format and a base DAT /// - /// Format of the DAT to be created - /// DatFile containing the information to use in specific operations + /// Format of the DAT to be created, default is + /// DatFile containing the information to use in specific operations, default is null /// DatFile of the specific internal type that corresponds to the inputs - public static DatFile CreateDatFile(DatFormat datFormat, DatFile? baseDat) + public static DatFile CreateDatFile(DatFormat datFormat = DatFormat.Logiqx, DatFile? baseDat = null) { return datFormat switch {