public static bool TryGetInstallation(string filePath, out Installation installation)
 {
     return(installations.TryGetValue(filePath, out installation));
 }
 public bool IsAcceptableInstallation(Installation installation)
 {
     return(installation == null || (installation.Version == Version && installation.GetMod(modName)?.GetCampaign(campaignName) != null));
 }
Example #3
0
 public void Write(Installation installation)
 {
     Write(installation?.FilePath);
 }