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

The game mode factory that builds MorrowindGameModes.
Inheritance: Nexus.Client.Games.Gamebryo.GamebryoGameModeFactory
显示文件 Open project: NexusMods/NexusModManager-4.5

Public Methods

Method Description
GetInstallationPath ( ) : string

Gets the path where mod files should be installed.

MorrowindGameModeFactory ( IEnvironmentInfo p_eifEnvironmentInfo ) : Nexus.Client.Games.Gamebryo

A simple consturctor that initializes the object with the given values.

PerformInitialization ( ShowViewDelegate p_dlgShowView, ShowMessageDelegate p_dlgShowMessage ) : bool

Performs the initializtion for the game mode being created.

Protected Methods

Method Description
InstantiateGameMode ( FileUtil p_futFileUtility ) : GamebryoGameModeBase

Instantiates the game mode.

Method Details

GetInstallationPath() public method

Gets the path where mod files should be installed.
public GetInstallationPath ( ) : string
return string

InstantiateGameMode() protected method

Instantiates the game mode.
protected InstantiateGameMode ( FileUtil p_futFileUtility ) : GamebryoGameModeBase
p_futFileUtility Nexus.Client.Util.FileUtil The file utility class to be used by the game mode.
return Nexus.Client.Games.Gamebryo.GamebryoGameModeBase

MorrowindGameModeFactory() public method

A simple consturctor that initializes the object with the given values.
public MorrowindGameModeFactory ( IEnvironmentInfo p_eifEnvironmentInfo ) : Nexus.Client.Games.Gamebryo
p_eifEnvironmentInfo IEnvironmentInfo The application's environement info.
return Nexus.Client.Games.Gamebryo

PerformInitialization() public method

Performs the initializtion for the game mode being created.
public PerformInitialization ( ShowViewDelegate p_dlgShowView, ShowMessageDelegate p_dlgShowMessage ) : bool
p_dlgShowView ShowViewDelegate The delegate to use to display a view.
p_dlgShowMessage ShowMessageDelegate The delegate to use to display a message.
return bool