C# Class Nexus.Client.Games.Gamebryo.ModManagement.GamebryoGameSpecificValueInstaller

Installs values that are specific to a game mode.
Inheritance: IGameSpecificValueInstaller
Datei anzeigen Open project: NexusMods/NexusModManager-4.5

Public Methods

Method Description
EditGameSpecificValue ( string p_strKey, byte p_bteValue ) : bool

Edits the specified game specific value.

FinalizeInstall ( ) : void

Finalizes the installation of the values.

GamebryoGameSpecificValueInstaller ( IMod p_modMod, IGameModeEnvironmentInfo p_gmiGameModeInfo, IInstallLog p_ilgInstallLog, TxFileManager p_tfmFileManager, FileUtil p_futFileUtility, ConfirmItemOverwriteDelegate p_dlgOverwriteConfirmationDelegate ) : System

A simple constructor that initializes the object with its dependencies.

UnEditGameSpecificValue ( string p_strKey ) : void

Undoes the edit made to the specified game specific value.

Method Details

EditGameSpecificValue() public method

Edits the specified game specific value.
public EditGameSpecificValue ( string p_strKey, byte p_bteValue ) : bool
p_strKey string The key of the edited Game Specific Value.
p_bteValue byte The value to install.
return bool

FinalizeInstall() public method

Finalizes the installation of the values.
public FinalizeInstall ( ) : void
return void

GamebryoGameSpecificValueInstaller() public method

A simple constructor that initializes the object with its dependencies.
public GamebryoGameSpecificValueInstaller ( IMod p_modMod, IGameModeEnvironmentInfo p_gmiGameModeInfo, IInstallLog p_ilgInstallLog, TxFileManager p_tfmFileManager, FileUtil p_futFileUtility, ConfirmItemOverwriteDelegate p_dlgOverwriteConfirmationDelegate ) : System
p_modMod IMod The mod being installed.
p_gmiGameModeInfo IGameModeEnvironmentInfo The environment info of the current game mode.
p_ilgInstallLog IInstallLog The install log to use to log file installations.
p_tfmFileManager ChinhDo.Transactions.TxFileManager The transactional file manager to use to interact with the file system.
p_futFileUtility Nexus.Client.Util.FileUtil The file utility class.
p_dlgOverwriteConfirmationDelegate ConfirmItemOverwriteDelegate The method to call in order to confirm an overwrite.
return System

UnEditGameSpecificValue() public method

Undoes the edit made to the specified game specific value.
public UnEditGameSpecificValue ( string p_strKey ) : void
p_strKey string The key of the edited Game Specific Value.
return void