C# Class Nexus.Client.Games.Grimrock.GrimrockLauncher

Launches Grimrock.
Inheritance: GameLauncherBase
Show file Open project: NexusMods/NexusModManager-4.5

Public Methods

Method Description
GrimrockLauncher ( 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
GetCustomLaunchCommand ( ) : string

Gets the custom launch command.

GetPlainLaunchCommand ( ) : string

Gets the plain launch command.

LaunchGame ( ) : void

Launches the game, using FOSE if present.

LaunchGrimrockCustom ( ) : void

Launches the game with a custom command.

LaunchGrimrockPlain ( ) : void

Launches the game, without OBSE.

Method Details

GrimrockLauncher() public method

A simple constructor that initializes the object with the given dependencies.
public GrimrockLauncher ( 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

SetupCommands() protected method

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