Holds settings for one specific mod. Contains several optional variables.
Exemple #1
0
 public Mod(string modDirectory, ModSettings modSettings)
     : this(modDirectory, DecodeModSettings(modSettings))
 {
 }
Exemple #2
0
 private static string DecodeModSettings(ModSettings modSettings)
 {
     return modSettings.Variables.Aggregate("", (current, variable) => current + $"{variable.Name}:{variable.Value};");
 }