C# Class Nexus.Client.Games.Oblivion.OblivionLauncher

Launches Oblivion.
Inheritance: GameLauncherBase
显示文件 Open project: NexusMods/NexusModManager-4.5

Public Methods

Method Description
OblivionLauncher ( 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.

GetObseLaunchCommand ( ) : string

Gets the OBSE launch command.

GetPlainLaunchCommand ( ) : string

Gets the plain launch command.

LaunchGame ( ) : void

Launches the game, using FOSE if present.

LaunchOblivionCustom ( ) : void

Launches the game with a custom command.

LaunchOblivionOBSE ( ) : void

Launches the game, with OBSE.

LaunchOblivionPlain ( ) : void

Launches the game, without OBSE.

Method Details

OblivionLauncher() public method

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