Свойство | Type | Description | |
---|---|---|---|
IsBackupActive | bool | ||
LoginTask | LoginFormTask | ||
lstMBInfo | List |
Méthode | Description | |
---|---|---|
ActivateMod ( IMod p_modMod, ConfirmModUpgradeDelegate p_dlgUpgradeConfirmationDelegate, ConfirmItemOverwriteDelegate p_dlgOverwriteConfirmationDelegate, ReadOnlyObservableList |
Activates the given mod.
|
|
AddMod ( string p_strPath, ConfirmOverwriteCallback p_cocConfirmOverwrite ) : IBackgroundTask |
Installs the specified mod.
|
|
AsyncAddMod ( |
||
AsyncAddModTask ( IBackgroundTask p_tskAddModTask ) : void | ||
AsyncEndorseMod ( IMod p_modMod ) : void |
Async toggle of the endorsement for the given mod.
|
|
AsyncTagMod ( ModManagement p_ModManagerVM, ModManagement p_ModTaggerVM, EventHandler |
||
AsyncUpdateMods ( List |
Runs the managed updaters.
|
|
AsyncUpdateModsTask ( |
||
DeactivateMod ( IMod p_modMod, ReadOnlyObservableList |
deactivates the given mod.
|
|
DeactivateMultipleMods ( ReadOnlyObservableList |
Runs the managed updaters.
|
|
DeleteMod ( IMod p_modMod, ReadOnlyObservableList |
Deletes the given mod. The mod is deactivated, unregistered, and then deleted. |
|
ForceUpgrade ( IMod p_modOldMod, IMod p_modNewMod, ConfirmItemOverwriteDelegate p_dlgOverwriteConfirmationDelegate ) : IBackgroundTaskSet |
Forces an upgrade from one mod to another. No checks as to whether the two mods are actually related are performed. The new mod is reactivated as if it were the old mod, and the old mod is replaced by the new mod. |
|
GetModTagger ( ) : |
Gets the tagger to use to tag mods with metadata.
|
|
Initialize ( IGameMode p_gmdGameMode, IEnvironmentInfo p_eifEnvironmentInfo, IModRepository p_mrpModRepository, |
Initializes the singleton intances of the mod manager.
|
|
LoadQueuedMods ( ) : void |
Loads the list of mods that are queued to be added to the mod manager.
|
|
Login ( ) : bool |
Logins the user into the current mod repository.
|
|
Logout ( ) : void | ||
ReactivateMod ( IMod p_modMod, ConfirmItemOverwriteDelegate p_dlgOverwriteConfirmationDelegate ) : IBackgroundTaskSet |
Reactivates the given mod. A reactivation is an upgrade of a mod to itself. It re-runs the activation, without changing the installed precedence of its files and installed values. |
|
Release ( ) : void |
This disposes of the singleton object, allowing it to be re-initialized.
|
|
SetupReadMeManager ( List |
Runs the managed updaters.
|
|
SwitchModCategory ( IMod p_modMod, |
Switches the mod category.
|
|
ToggleModEndorsement ( IMod p_modMod ) : void |
Toggles the endorsement for the given mod.
|
|
ToggleUpdateWarningTask ( HashSet |
Runs the managed updaters.
|
|
UpdateMods ( List |
Runs the managed updaters.
|
Méthode | Description | |
---|---|---|
Deactivator_TaskSetCompleted ( object sender, |
Handles the IBackgroundTaskSet.TaskSetCompleted event of the mod deletion mod deativator.
|
|
DeleteXMLInstalledFile ( IMod p_modMod ) : void |
If the mod is scripted, deletes the XMLInstalledFiles file inside the InstallInfo\Scripted folder.
|
|
ModManager ( IGameMode p_gmdGameMode, IEnvironmentInfo p_eifEnvironmentInfo, IModRepository p_mrpModRepository, |
A simple constructor that initializes the object with its dependencies.
|
public ActivateMod ( IMod p_modMod, ConfirmModUpgradeDelegate p_dlgUpgradeConfirmationDelegate, ConfirmItemOverwriteDelegate p_dlgOverwriteConfirmationDelegate, ReadOnlyObservableList |
||
p_modMod | IMod | The mod to activate. |
p_dlgUpgradeConfirmationDelegate | ConfirmModUpgradeDelegate | The delegate that is called to confirm whether an upgrade install should be performed. |
p_dlgOverwriteConfirmationDelegate | ConfirmItemOverwriteDelegate | The method to call in order to confirm an overwrite. |
p_rolActiveMods | ReadOnlyObservableList |
The list or Active mods. |
Résultat | IBackgroundTaskSet |
public AddMod ( string p_strPath, ConfirmOverwriteCallback p_cocConfirmOverwrite ) : IBackgroundTask | ||
p_strPath | string | The path to the mod to install. |
p_cocConfirmOverwrite | ConfirmOverwriteCallback | The delegate to call to resolve conflicts with existing files. |
Résultat | IBackgroundTask |
public AsyncAddMod ( |
||
p_uriPath | ||
p_cocConfirmOverwrite | ConfirmOverwriteCallback | |
Résultat | IBackgroundTask |
public AsyncAddModTask ( IBackgroundTask p_tskAddModTask ) : void | ||
p_tskAddModTask | IBackgroundTask | |
Résultat | void |
public AsyncEndorseMod ( IMod p_modMod ) : void | ||
p_modMod | IMod | The mod to endorse/unendorse. |
Résultat | void |
public AsyncTagMod ( ModManagement p_ModManagerVM, ModManagement p_ModTaggerVM, EventHandler |
||
p_ModManagerVM | ModManagement | |
p_ModTaggerVM | ModManagement | |
p_TaggingMod | EventHandler |
|
Résultat | void |
public AsyncUpdateMods ( List |
||
p_lstModList | List |
The list of mods we need to update. |
p_camConfirm | ConfirmActionMethod | The delegate to call to confirm an action. |
p_booOverrideCategorySetup | bool | Whether to force a global update. |
Résultat | void |
public AsyncUpdateModsTask ( |
||
p_mutModUpdateCheck | ||
p_camConfirm | ConfirmActionMethod | |
Résultat | Task |
public DeactivateMod ( IMod p_modMod, ReadOnlyObservableList |
||
p_modMod | IMod | The mod to deactivate. |
p_rolActiveMods | ReadOnlyObservableList |
The list of active mods. |
Résultat | IBackgroundTaskSet |
public DeactivateMultipleMods ( ReadOnlyObservableList |
||
p_rolModList | ReadOnlyObservableList |
The mod list. |
p_camConfirm | ConfirmActionMethod | The delegate to call to confirm an action. |
Résultat | IBackgroundTask |
public DeleteMod ( IMod p_modMod, ReadOnlyObservableList |
||
p_modMod | IMod | The mod to delete. |
p_rolActiveMods | ReadOnlyObservableList |
The list of active mods. |
Résultat | IBackgroundTaskSet |
public ForceUpgrade ( IMod p_modOldMod, IMod p_modNewMod, ConfirmItemOverwriteDelegate p_dlgOverwriteConfirmationDelegate ) : IBackgroundTaskSet | ||
p_modOldMod | IMod | The mod from which to upgrade. |
p_modNewMod | IMod | The mod to which to upgrade. |
p_dlgOverwriteConfirmationDelegate | ConfirmItemOverwriteDelegate | The method to call in order to confirm an overwrite. |
Résultat | IBackgroundTaskSet |
public static Initialize ( IGameMode p_gmdGameMode, IEnvironmentInfo p_eifEnvironmentInfo, IModRepository p_mrpModRepository, |
||
p_gmdGameMode | IGameMode | The current game mode. |
p_eifEnvironmentInfo | IEnvironmentInfo | The application's envrionment info. |
p_mrpModRepository | IModRepository | The mod repository from which to get mods and mod metadata. |
p_dmrMonitor | The download monitor to use to track task progress. | |
p_ammMonitor | ||
p_frgFormatRegistry | IModFormatRegistry | The |
p_mrgModRegistry | The |
|
p_futFileUtility | The file utility class. | |
p_scxUIContext | The |
|
p_ilgInstallLog | IInstallLog | The install log tracking mod activations for the current game mode. |
p_pmgPluginManager | IPluginManager | The plugin manager to use to work with plugins. |
Résultat |
public ReactivateMod ( IMod p_modMod, ConfirmItemOverwriteDelegate p_dlgOverwriteConfirmationDelegate ) : IBackgroundTaskSet | ||
p_modMod | IMod | The mod to reactivate. |
p_dlgOverwriteConfirmationDelegate | ConfirmItemOverwriteDelegate | The method to call in order to confirm an overwrite. |
Résultat | IBackgroundTaskSet |
public SetupReadMeManager ( List |
||
p_lstModList | List |
The mod list. |
p_camConfirm | ConfirmActionMethod | The delegate to call to confirm an action. |
Résultat | IBackgroundTask |
public SwitchModCategory ( IMod p_modMod, |
||
p_modMod | IMod | The mod. |
p_intCategoryId | The new category id. | |
Résultat | void |
public ToggleModEndorsement ( IMod p_modMod ) : void | ||
p_modMod | IMod | The mod to endorse/unendorse. |
Résultat | void |
public ToggleUpdateWarningTask ( HashSet |
||
p_hashMods | HashSet |
The hash of mods. |
p_booEnable | bool | Enable/Disable/Toggle. |
p_camConfirm | ConfirmActionMethod | The delegate to call to confirm an action. |
Résultat | IBackgroundTask |
public UpdateMods ( List |
||
p_lstModList | List |
The list of mods we need to update. |
p_camConfirm | ConfirmActionMethod | The delegate to call to confirm an action. |
p_booOverrideCategorySetup | bool | Whether to force a global update. |
Résultat | IBackgroundTask |