메소드 | 설명 | |
---|---|---|
Scan ( ) : void |
Scans the mods folder for fomods that have versions that differ from their versions in the install log. If fomods with versions that differ from those in the install log are found, the use is asked whether to replace or upgrade the fomod. Replacing the fomod merely changes the version in the install log, but makes no system changes. Upgrading the fomod performs an in-place upgrade. |
|
UpgradeMismatchedVersionScanner ( IInstallLog p_ilgInstallLog, ModManager p_mmgModManager, ConfirmMismatchedVersionModUpgradeDelegate p_dlgConfirmUpgrade, ConfirmItemOverwriteDelegate p_dlgOverwriteConfirmationDelegate ) : System |
A simple constructor that initializes the object with its dependencies.
|
|
Wait ( ) : void |
Blocks until the task set is completed.
|
메소드 | 설명 | |
---|---|---|
OnTaskSetCompleted ( |
Raises the TaskSetCompleted event.
|
|
OnTaskStarted ( EventArgs |
Raises the TaskStarted event.
|
|
Replace ( IMod>.IList |
Replaces the given fomods in the install log.
|
메소드 | 설명 | |
---|---|---|
Reactivation_TaskStarted ( object sender, EventArgs |
||
Upgrade ( object p_lstModsToUpgrade ) : void |
Upgrades the given fomods.
|
protected OnTaskSetCompleted ( |
||
e | A |
|
리턴 | void |
protected OnTaskStarted ( EventArgs |
||
e | EventArgs |
An |
리턴 | void |
protected Replace ( IMod>.IList |
||
p_lstModsToReplace | IMod>.IList | The list of fomods to replace. |
리턴 | void |
public UpgradeMismatchedVersionScanner ( IInstallLog p_ilgInstallLog, ModManager p_mmgModManager, ConfirmMismatchedVersionModUpgradeDelegate p_dlgConfirmUpgrade, ConfirmItemOverwriteDelegate p_dlgOverwriteConfirmationDelegate ) : System | ||
p_ilgInstallLog | IInstallLog | The install log to use to log file installations. |
p_mmgModManager | ModManager | The mod manager to use to upgrade any replaced mods. |
p_dlgConfirmUpgrade | ConfirmMismatchedVersionModUpgradeDelegate | The delegate to call to confirm that a mismatched version mod should be upgraded. |
p_dlgOverwriteConfirmationDelegate | ConfirmItemOverwriteDelegate | The method to call in order to confirm an overwrite. |
리턴 | System |