Method | Description | |
---|---|---|
GameLauncherBase ( IGameMode p_gmdGameMode, IEnvironmentInfo p_eifEnvironmentInfo ) : System |
A simple constructor that initializes the object with the given dependencies.
|
Method | Description | |
---|---|---|
AddLaunchCommand ( |
Adds the given launch command.
|
|
ClearLaunchCommands ( ) : void |
Clears all the launch commands.
|
|
Launch ( string p_strCommand, string p_strCommandArgs ) : void |
Launches the game. This is the root launch method that all the other launch methods call. This method actually spawns the new process to launch the game, using the given information. |
|
OnGameLaunched ( Nexus.Client.Games.GameLaunchEventArgs e ) : void |
Raises the GameLaunched event.
|
|
OnGameLaunched ( bool p_booGameLaunched, string p_strMessage ) : void |
Raises the GameLaunched event.
|
|
OnGameLaunching ( ) : bool |
Raises the GameLaunching event.
|
|
OnGameLaunching ( CancelEventArgs e ) : void |
Raises the GameLaunching event.
|
|
SetupCommands ( ) : void |
Initializes the game launch commands.
|
protected AddLaunchCommand ( |
||
p_cmdLaunch | The launch command to add. | |
return | void |
public GameLauncherBase ( 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 |
protected Launch ( string p_strCommand, string p_strCommandArgs ) : void | ||
p_strCommand | string | The command to execute to launch the game. |
p_strCommandArgs | string | The command argumetns to pass to the launch command. |
return | void |
protected OnGameLaunched ( Nexus.Client.Games.GameLaunchEventArgs e ) : void | ||
e | Nexus.Client.Games.GameLaunchEventArgs | A |
return | void |
protected OnGameLaunched ( bool p_booGameLaunched, string p_strMessage ) : void | ||
p_booGameLaunched | bool | Whether or not the game launched successfully. |
p_strMessage | string | A message to display to the user. |
return | void |
protected OnGameLaunching ( CancelEventArgs e ) : void | ||
e | CancelEventArgs | A |
return | void |