public static GameLauncherProcessInternal.GameLauncher.GameLaunchSpec ToLaunchSpec( this LaunchGameWithSteamLegacyInfo info) { var spec = ((LaunchGameWithSteamInfo)info).ToLaunchSpec(); spec.LegacyLaunch = true; return(spec); }
public static async Task <LaunchGameWithSteamLegacyInfo> FakeLaunchGameWithSteamLegacy( this ILaunchWithSteamLegacy mediator, RealVirtualityGame game) { LaunchGameWithSteamLegacyInfo parameters = null; A.CallTo(() => mediator.Launch(A <LaunchGameWithSteamLegacyInfo> ._)) .Invokes((LaunchGameWithSteamLegacyInfo x) => parameters = x) .ReturnsLazily(() => Task.FromResult(default(Process))); await game.Launch((dynamic)mediator); return(parameters); }
public Task <Process> LaunchInternal(LaunchGameWithSteamLegacyInfo info) => PerformUpdaterAction(info, new SULaunchGameSteamLegacyArgumentsBuilder(info, GetAndValidateSteamPath(info.SteamDRM)) .Build());
public Task <Process> LaunchInternal(LaunchGameWithSteamLegacyInfo info) { throw new NotImplementedException(); }
public SULaunchGameSteamLegacyArgumentsBuilder(LaunchGameWithSteamLegacyInfo spec, IAbsoluteDirectoryPath steamPath) : base(spec, steamPath) { }
public Task <Process> Launch(LaunchGameWithSteamLegacyInfo spec) => LaunchInternal(spec);
public Task<Process> Launch(LaunchGameWithSteamLegacyInfo spec) { return LaunchInternal(spec); }
public async Task <Process> LaunchInternal(LaunchGameWithSteamLegacyInfo info) => Process.GetProcessById(CreateLauncher().LaunchGame(info.ToLaunchSpec()));
protected Task <Process> LaunchInternal(LaunchGameWithSteamLegacyInfo info) => _gameLauncherInfra.LaunchInternal(info);