C# 클래스 Nexus.Client.GameModeSelector

Chooses the current game mode.
This selector checks the following to select the current game mode: -command line -remembered game mode in settings -ask the user
파일 보기 프로젝트 열기: NexusMods/NexusModManager-4.5 1 사용 예제들

공개 메소드들

메소드 설명
GameModeSelector ( GameModeRegistry p_gmrSupportedGameModes, GameModeRegistry p_gmrInstalledGameModes, IEnvironmentInfo p_eifEnvironmentInfo ) : System

A simple constructor that initializes the object with the given dependencies.

SelectGameMode ( string p_strRequestedGameMode, bool p_booChangeDefaultGameMode ) : IGameModeFactory

Selectes the current game mode.

메소드 상세

GameModeSelector() 공개 메소드

A simple constructor that initializes the object with the given dependencies.
public GameModeSelector ( GameModeRegistry p_gmrSupportedGameModes, GameModeRegistry p_gmrInstalledGameModes, IEnvironmentInfo p_eifEnvironmentInfo ) : System
p_gmrSupportedGameModes Nexus.Client.Games.GameModeRegistry The games modes supported by the mod manager.
p_gmrInstalledGameModes Nexus.Client.Games.GameModeRegistry The game modes factories for installed games.
p_eifEnvironmentInfo IEnvironmentInfo The application's envrionment info.
리턴 System

SelectGameMode() 공개 메소드

Selectes the current game mode.
public SelectGameMode ( string p_strRequestedGameMode, bool p_booChangeDefaultGameMode ) : IGameModeFactory
p_strRequestedGameMode string The id of the game mode we want to select.
p_booChangeDefaultGameMode bool Whether the users ahs requested a change to the default game mode.
리턴 IGameModeFactory