C# Class Nexus.Client.Games.Witcher2.Witcher2Launcher

Launches The Witcher 2.
Inheritance: GameLauncherBase
Datei anzeigen Open project: NexusMods/NexusModManager-4.5

Public Methods

Method Description
Witcher2Launcher ( IGameMode p_gmdGameMode, IEnvironmentInfo p_eifEnvironmentInfo ) : System

A simple constructor that initializes the object with the given dependencies.

Protected Methods

Method Description
SetupCommands ( ) : void

Initializes the game launch commands.

Private Methods

Method Description
GetCMLaunchCommand ( ) : string

Gets the CM launch command.

GetCustomLaunchCommand ( ) : string

Gets the custom launch command.

GetPlainLaunchCommand ( ) : string

Gets the plain launch command.

LaunchGame ( ) : void

Launches the game, using FOSE if present.

LaunchWitcher2CM ( ) : void

Launches the game's content manager.

LaunchWitcher2Custom ( ) : void

Launches the game with a custom command.

LaunchWitcher2Plain ( ) : void

Launches the game.

Method Details

SetupCommands() protected method

Initializes the game launch commands.
protected SetupCommands ( ) : void
return void

Witcher2Launcher() public method

A simple constructor that initializes the object with the given dependencies.
public Witcher2Launcher ( IGameMode p_gmdGameMode, IEnvironmentInfo p_eifEnvironmentInfo ) : System
p_gmdGameMode IGameMode >The game mode currently being managed.
p_eifEnvironmentInfo IEnvironmentInfo The application's envrionment info.
return System