/// <summary> /// /// </summary> /// <param name="modName"></param> /// <param name="version"></param> /// <returns>The file name of the release. Follows the pattern "{name}_{version}.zip"</returns> public static string GetFileName(string modName, FactorioVersion version) { return($"{modName}_{version}.zip"); }
public MaintainedVersionConfig(FactorioVersion factorioVersion) : this(new List <FactorioVersion>() { factorioVersion }) { }
public ReleaseData(ModData mod, string downloadUrl, FactorioVersion factorioVersion, List <ModDependency> dependencies, DateTime releasedAt, FactorioVersion version, string sha1) { Mod = mod; DownloadUrl = downloadUrl; FactorioVersion = factorioVersion; Dependencies = dependencies; ReleasedAt = releasedAt; Version = version; Sha1 = sha1; }