Méthode | Description | |
---|---|---|
FinalizeInstall ( ) : void |
Finalizes the installation of the files. This removes all of the file that weren't reinstalled during the upgrade. |
|
GenerateDataFile ( string p_strPath, byte p_bteData, bool p_booSecondaryInstallPath ) : bool |
Writes the file represented by the given byte array to the given path. This method writes the given data as a file at the given path, if it is owned by the mod being upgraded. If the specified data file is not owned by the mod being upgraded, the file is instead written to the overwrites directory. If the file was not previously installed by the mod, then the normal install rules apply, including confirming overwrite if applicable. |
|
ModFileUpgradeInstaller ( IGameModeEnvironmentInfo p_gmiGameModeInfo, IMod p_modMod, IInstallLog p_ilgInstallLog, IPluginManager p_pmgPluginManager, IDataFileUtil p_dfuDataFileUtility, |
A simple constructor that initializes the object with its dependencies.
|
public GenerateDataFile ( string p_strPath, byte p_bteData, bool p_booSecondaryInstallPath ) : bool | ||
p_strPath | string | The path where the file is to be created. |
p_bteData | byte | The data that is to make up the file. |
p_booSecondaryInstallPath | bool | Whether to use the secondary install path. |
Résultat | bool |
public ModFileUpgradeInstaller ( IGameModeEnvironmentInfo p_gmiGameModeInfo, IMod p_modMod, IInstallLog p_ilgInstallLog, IPluginManager p_pmgPluginManager, IDataFileUtil p_dfuDataFileUtility, |
||
p_gmiGameModeInfo | IGameModeEnvironmentInfo | The environment info of the current game mode. |
p_modMod | IMod | The mod being installed. |
p_ilgInstallLog | IInstallLog | The install log to use to log file installations. |
p_pmgPluginManager | IPluginManager | The plugin manager. |
p_dfuDataFileUtility | IDataFileUtil | The utility class to use to work with data files. |
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. |
p_UsesPlugins | bool | Game using plugin or mods (True for plugins). |
Résultat | System |