메소드 | 설명 | |
---|---|---|
EditIni ( string p_strSettingsFileName, string p_strSection, string p_strKey, string p_strValue ) : bool |
Sets the specified value in the specified Ini file to the given value. This method writes the given value in the specified Ini value, if it is owned by the mod being upgraded. If the specified Ini edit is not owned by the mod being upgraded, the Ini edit is archived in the install log. If the Ini edit was not previously installed by the mod, then the normal install rules apply, including confirming overwrite if applicable. |
|
FinalizeInstall ( ) : void |
Finalizes the installation of the values. This removes all of the file that weren't reinstalled during the upgrade. |
|
IniUpgradeInstaller ( IMod p_modMod, IInstallLog p_ilgInstallLog, |
A simple constructor that initializes the object with its dependencies.
|
public EditIni ( string p_strSettingsFileName, string p_strSection, string p_strKey, string p_strValue ) : bool | ||
p_strSettingsFileName | string | The name of the settings file to edit. |
p_strSection | string | The section in the Ini file to edit. |
p_strKey | string | The key in the Ini file to edit. |
p_strValue | string | The value to which to set the key. |
리턴 | bool |
public IniUpgradeInstaller ( IMod p_modMod, IInstallLog p_ilgInstallLog, |
||
p_modMod | IMod | The mod being installed. |
p_ilgInstallLog | IInstallLog | The install log to use to log file installations. |
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. |
리턴 | System.Collections.Generic |