Method | Description | |
---|---|---|
Install ( ) : void |
Installs the mod.
|
|
ModInstaller ( IMod p_modMod, IGameMode p_gmdGameMode, IEnvironmentInfo p_eifEnvironmentInfo, |
A simple constructor that initializes the object with the given values.
|
Method | Description | |
---|---|---|
CreateFileInstaller ( |
Creates the file installer to use to install the mod's files. This returns the regular ModFileInstaller. |
|
CreateGameSpecificValueInstaller ( |
Creates the file installer to use to install the mod's game specific value edits. This returns a regular IGameSpecificValueInstaller. |
|
CreateIniInstaller ( |
Creates the file installer to use to install the mod's ini edits. This returns the regular IniInstaller. |
|
RegisterMod ( ) : void |
Registers the mod being installed with the install log.
|
|
RunBasicInstallScript ( IModFileInstaller p_mfiFileInstaller, ReadOnlyObservableList |
Runs the basic install script. A basic install installs all of the files in the mod to the installation directory, and activates all plugin files. |
|
RunScript ( |
This executes the install script.
|
|
RunTasks ( ) : void |
Runs the install tasks.
|
Method | Description | |
---|---|---|
BeginModReadOnlyTransaction ( ) : bool |
Puts the mod into read-only mode.
|
|
ScriptExecutor_TaskSetCompleted ( object sender, |
Handles the IBackgroundTaskSet.TaskSetCompleted event of script executors. This unwires our listeners from the executor. |
|
ScriptExecutor_TaskStarted ( object sender, EventArgs |
Handles the IBackgroundTaskSet.TaskStarted event of script executors. This bubbles the started task to any listeners. |
protected CreateFileInstaller ( |
||
p_tfmFileManager | The transactional file manager to use to interact with the file system. | |
p_dlgOverwriteConfirmationDelegate | ConfirmItemOverwriteDelegate | The method to call in order to confirm an overwrite. |
return | IModFileInstaller |
protected CreateGameSpecificValueInstaller ( |
||
p_tfmFileManager | The transactional file manager to use to interact with the file system. | |
p_dlgOverwriteConfirmationDelegate | ConfirmItemOverwriteDelegate | The method to call in order to confirm an overwrite. |
return | IGameSpecificValueInstaller |
protected CreateIniInstaller ( |
||
p_tfmFileManager | The transactional file manager to use to interact with the file system. | |
p_dlgOverwriteConfirmationDelegate | ConfirmItemOverwriteDelegate | The method to call in order to confirm an overwrite. |
return | IIniInstaller |
public ModInstaller ( IMod p_modMod, IGameMode p_gmdGameMode, IEnvironmentInfo p_eifEnvironmentInfo, |
||
p_modMod | IMod | The mod being installed. |
p_gmdGameMode | IGameMode | The current game mode. |
p_eifEnvironmentInfo | IEnvironmentInfo | The application's envrionment info. |
p_futFileUtility | The file utility class. | |
p_scxUIContext | The |
|
p_ilgModInstallLog | IInstallLog | The install log that tracks mod install info /// for the current game mode |
p_pmgPluginManager | IPluginManager | The plugin manager. |
p_dlgOverwriteConfirmationDelegate | ConfirmItemOverwriteDelegate | The method to call in order to confirm an overwrite. |
p_rolActiveMods | ReadOnlyObservableList |
The list of active mods. |
p_mmModManager | ||
return | System |
protected RunBasicInstallScript ( IModFileInstaller p_mfiFileInstaller, ReadOnlyObservableList |
||
p_mfiFileInstaller | IModFileInstaller | The file installer to use. |
p_rolActiveMods | ReadOnlyObservableList |
The list of active mods. |
return | bool |
protected RunScript ( |
||
p_tfmFileManager | The transactional file manager to use to interact with the file system. | |
return | bool |