C# Class Nexus.Client.Games.Morrowind.MorrowindLauncher

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

Public Methods

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

GetMwseLaunchCommand ( ) : string

Gets the OBSE launch command.

GetPlainLaunchCommand ( ) : string

Gets the plain launch command.

LaunchGame ( ) : void

Launches the game, using FOSE if present.

LaunchMorrowindCustom ( ) : void

Launches the game with a custom command.

LaunchMorrowindMWSE ( ) : void

Launches the game, with MWSE.

LaunchMorrowindPlain ( ) : void

Launches the game, without OBSE.

Method Details

MorrowindLauncher() public method

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