public IronFrontInfo(IAbsoluteDirectoryPath ironFrontPath, IAbsoluteDirectoryPath gamePath, IAbsoluteDirectoryPath tempPath, IfaStatus status, IfaGameEdition game) { IronFrontPath = ironFrontPath; GamePath = gamePath; TempPath = tempPath; Status = status; Game = game; IronFrontExePath = ironFrontPath.GetChildFileWithName("ironfront.exe"); IFSourcePath = ironFrontPath.GetChildDirectoryWithName("IF"); IFDlcSourcePath = ironFrontPath.GetChildDirectoryWithName("DLC_1"); GameIFPath = gamePath.GetChildDirectoryWithName("@IF"); GameIFDlcPath = gamePath.GetChildDirectoryWithName("@LIB_DLC_1"); GameIF3MPath = gamePath.GetChildDirectoryWithName("@IFA3M"); GameIFOtherAddonsPath = gamePath.GetChildDirectoryWithName("@IF_Other_Addons"); }
public string GetFileName(IfaGameEdition game) => "IronFront_" + game + "_CommunityPatch_" + From.Version + "-" + To.Version + ".exe";
public override string GetFileName(IfaGameEdition game, DlcEdition edition) => "IronFront_DLC_" + game + "_CommunityPatch_" + From.Version + "-" + To.Version + "_" + edition + ".exe";
public virtual string GetFileName(IfaGameEdition game, DlcEdition edition) { return "IronFront_DLC_" + game + "_CommunityPatch_" + From.Version + "-" + To.Version + ".exe"; }