From 3e35539ed8848eb234c22016770de2585303012b Mon Sep 17 00:00:00 2001 From: Justin Swanson Date: Sun, 8 Sep 2024 14:58:46 -0500 Subject: [PATCH] Light -> Small rename --- .../Plugins/Exceptions/UnmappableFormIDException.cs | 4 ++-- .../Plugins/Masters/SeparatedMasterPackage.cs | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Mutagen.Bethesda.Core/Plugins/Exceptions/UnmappableFormIDException.cs b/Mutagen.Bethesda.Core/Plugins/Exceptions/UnmappableFormIDException.cs index 373d90dc4..37d4cb38e 100644 --- a/Mutagen.Bethesda.Core/Plugins/Exceptions/UnmappableFormIDException.cs +++ b/Mutagen.Bethesda.Core/Plugins/Exceptions/UnmappableFormIDException.cs @@ -38,9 +38,9 @@ public override string ToString() { PrintMastersList(sb, separated.Medium, nameof(SeparatedMasterPackage.Medium)); } - if (separated.Light.Count > 0) + if (separated.Small.Count > 0) { - PrintMastersList(sb, separated.Light, nameof(SeparatedMasterPackage.Light)); + PrintMastersList(sb, separated.Small, nameof(SeparatedMasterPackage.Small)); } } diff --git a/Mutagen.Bethesda.Core/Plugins/Masters/SeparatedMasterPackage.cs b/Mutagen.Bethesda.Core/Plugins/Masters/SeparatedMasterPackage.cs index 4585d600b..ee2b15508 100644 --- a/Mutagen.Bethesda.Core/Plugins/Masters/SeparatedMasterPackage.cs +++ b/Mutagen.Bethesda.Core/Plugins/Masters/SeparatedMasterPackage.cs @@ -21,8 +21,8 @@ public class SeparatedMasterPackage : IReadOnlySeparatedMasterPackage internal record MasterStyleIndex(uint Index, MasterStyle Style); public IReadOnlyList Full { get; private set; } = null!; - public IReadOnlyList Light { get; private set; } = null!; public IReadOnlyList Medium { get; private set; } = null!; + public IReadOnlyList Small { get; private set; } = null!; public ModKey CurrentMod { get; private set; } public IReadOnlyMasterReferenceCollection Raw { get; private set; } = null!; @@ -155,7 +155,7 @@ internal static IReadOnlySeparatedMasterPackage Separate( { var normal = new List(); var medium = new List(); - var light = new List(); + var small = new List(); void AddToList(IModMasterFlagsGetter mod, ModKey modKey) { @@ -181,7 +181,7 @@ void AddToListViaStyle(MasterStyle style, ModKey modKey) normal.Add(modKey); break; case MasterStyle.Small: - light.Add(modKey); + small.Add(modKey); break; case MasterStyle.Medium: medium.Add(modKey); @@ -231,13 +231,13 @@ void AddToListViaStyle(MasterStyle style, ModKey modKey) { Full = normal, Medium = medium, - Light = light, + Small = small, Raw = masters, CurrentMod = masters.CurrentMod, }; var lookup = new Dictionary(); FillLookup(ret.Full, lookup, MasterStyle.Full); - FillLookup(ret.Light, lookup, MasterStyle.Small); + FillLookup(ret.Small, lookup, MasterStyle.Small); FillLookup(ret.Medium, lookup, MasterStyle.Medium); ret._lookup = lookup; return ret; @@ -297,7 +297,7 @@ private void ExtractFormIdInfo( index = formId.LightMasterIndex; id = formId.LightId; style = MasterStyle.Small; - loadOrder = Light; + loadOrder = Small; break; } case FormID.MediumMasterMarker: