Пример #1
0
 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));
 }
Пример #3
0
 public void Write(Installation installation)
 {
     Write(installation?.FilePath);
 }