C# Class withSIX.Updater.Presentation.Wpf.Services.GameLauncher

Mostra file Open project: SIXNetworks/withSIX.Desktop Class Usage Examples

Public Methods

Method Description
GameLauncher ( IShutdownHandler shutdownHandler, IRestarter restarter ) : System
LaunchGame ( GameLaunchSpec spec ) : int

Private Methods

Method Description
DetectSteamRunning ( ) : void
DetectSteamRunningByMainModule ( ) : void
GetSteamProcesses ( ) : System.Diagnostics.Process[]
InjectSteamOverlayIfNeeded ( ) : void
IsSteamMainModule ( Process p ) : bool
IsSteamStartRequired ( ) : bool
Launch ( ProcessStartInfo processStartInfo ) : Process
LaunchGameWithUacBypass ( ) : void
LaunchGameWithoutUacBypass ( ) : void
LaunchWithUacBypass ( ProcessStartInfo gameStartInfo ) : int
LegacySteamLaunch ( ) : void
ModernLaunch ( ) : void
PostProcessLaunch ( ) : void
PrepareLegacySteamLaunch ( ) : void
PrepareModernGameLaunch ( ) : void
PrepareSteamState ( ) : void
SetAffinity ( ) : void
SetPriority ( ) : void
StartGame ( ) : void
StartSteam ( ) : void
StartSteamIfRequired ( ) : void
TryDetectSteamRunning ( ) : void
TryInject ( Injector injector ) : void
TryInject64 ( Injector injector ) : void
TrySetForeground ( Process launchedGame ) : void
TryStartSteam ( ) : void
TrySteamApiInit ( ) : void
ValidateSteamRunning ( ) : void
WaitForSteamProcess ( ) : void

Method Details

GameLauncher() public method

public GameLauncher ( IShutdownHandler shutdownHandler, IRestarter restarter ) : System
shutdownHandler IShutdownHandler
restarter IRestarter
return System

LaunchGame() public method

public LaunchGame ( GameLaunchSpec spec ) : int
spec GameLaunchSpec
return int