diff --git a/Penumbra/Importer/Models/ExtendedModPack.cs b/Penumbra/Importer/Models/ExtendedModPack.cs index 5a69e191..105cdee0 100644 --- a/Penumbra/Importer/Models/ExtendedModPack.cs +++ b/Penumbra/Importer/Models/ExtendedModPack.cs @@ -1,4 +1,5 @@ using System.Collections.Generic; +using Penumbra.Models; namespace Penumbra.Importer.Models { @@ -9,14 +10,14 @@ namespace Penumbra.Importer.Models public string ImagePath { get; set; } public List< SimpleMod > ModsJsons { get; set; } public string GroupName { get; set; } - public string SelectionType { get; set; } + public SelectType SelectionType { get; set; } public bool IsChecked { get; set; } } internal class ModGroup { public string GroupName { get; set; } - public string SelectionType { get; set; } + public SelectType SelectionType { get; set; } public List< OptionList > OptionList { get; set; } } diff --git a/Penumbra/Models/GroupInformation.cs b/Penumbra/Models/GroupInformation.cs index e92c2667..9beadcae 100644 --- a/Penumbra/Models/GroupInformation.cs +++ b/Penumbra/Models/GroupInformation.cs @@ -2,6 +2,9 @@ using System.Collections.Generic; namespace Penumbra.Models { + public enum SelectType { + Single, Multi + } public struct Option { public string OptionName; public string OptionDesc; @@ -9,7 +12,7 @@ namespace Penumbra.Models } public struct InstallerInfo { public string GroupName; - public string SelectionType; + public SelectType SelectionType; public List