C# 클래스 Nexus.Client.Games.Grimrock.GrimrockGameModeFactory

The base game mode factory that provides the commond functionality for factories that build game modes for Grimrock based games.
상속: IGameModeFactory
파일 보기 프로젝트 열기: NexusMods/NexusModManager-4.5

공개 메소드들

메소드 설명
BuildGameMode ( FileUtil p_futFileUtility, ViewMessage &p_imsWarning ) : IGameMode

Builds the game mode.

GetExecutablePath ( string p_strPath ) : string

Gets the path to the game executable.

GetInstallationPath ( ) : string

Gets the path where mod files should be installed.

GetInstallationPath ( string p_strGameInstallPath ) : string

Gets the path where mod files should be installed.

This method uses the given path to the installed game to determine the installaiton path for mods.

GrimrockGameModeFactory ( IEnvironmentInfo p_eifEnvironmentInfo ) : System

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

PerformInitialSetup ( ShowViewDelegate p_dlgShowView, ShowMessageDelegate p_dlgShowMessage ) : bool

Performs the initial setup for the game mode being created.

PerformInitialization ( ShowViewDelegate p_dlgShowView, ShowMessageDelegate p_dlgShowMessage ) : bool

Performs the initializtion for the game mode being created.

보호된 메소드들

메소드 설명
InstantiateGameMode ( FileUtil p_futFileUtility ) : GrimrockGameMode

Instantiates the game mode.

메소드 상세

BuildGameMode() 공개 메소드

Builds the game mode.
public BuildGameMode ( FileUtil p_futFileUtility, ViewMessage &p_imsWarning ) : IGameMode
p_futFileUtility Nexus.Client.Util.FileUtil The file utility class to be used by the game mode.
p_imsWarning Nexus.Client.UI.ViewMessage The resultant warning resultant from the creation of the game mode. /// null if there are no warnings.
리턴 IGameMode

GetExecutablePath() 공개 메소드

Gets the path to the game executable.
public GetExecutablePath ( string p_strPath ) : string
p_strPath string
리턴 string

GetInstallationPath() 공개 메소드

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

GetInstallationPath() 공개 메소드

Gets the path where mod files should be installed.
This method uses the given path to the installed game to determine the installaiton path for mods.
public GetInstallationPath ( string p_strGameInstallPath ) : string
p_strGameInstallPath string
리턴 string

GrimrockGameModeFactory() 공개 메소드

A simple consturctor that initializes the object with the given values.
public GrimrockGameModeFactory ( IEnvironmentInfo p_eifEnvironmentInfo ) : System
p_eifEnvironmentInfo IEnvironmentInfo The application's environement info.
리턴 System

InstantiateGameMode() 보호된 메소드

Instantiates the game mode.
protected InstantiateGameMode ( FileUtil p_futFileUtility ) : GrimrockGameMode
p_futFileUtility Nexus.Client.Util.FileUtil The file utility class to be used by the game mode.
리턴 GrimrockGameMode

PerformInitialSetup() 공개 메소드

Performs the initial setup for the game mode being created.
public PerformInitialSetup ( 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.
리턴 bool

PerformInitialization() 공개 메소드

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.
리턴 bool