메소드 | 설명 | |
---|---|---|
AddMod ( bool p_booQueued ) : void |
Starts the mod adding task.
|
|
AddModTask ( IGameMode p_gmdGameMode, |
A simple constructor that initializes the object with the given values.
|
|
Cancel ( ) : void |
Cancels the task.
|
|
Dispose ( ) : void |
Terminates all tasks started by this task. After being disposed, that is no guarantee that the task's status will be correct. Further interaction with the object is undefined. |
|
Pause ( ) : void |
Pauses the task.
|
|
Queue ( ) : void |
Queues the task.
|
|
Resume ( ) : void |
Resumes the task.
|
메소드 | 설명 | |
---|---|---|
AddModFile ( ConfirmOverwriteCallback p_cocConfirmOverwrite ) : void |
Adds the mod file to the mod manager.
|
|
DownloadFiles ( List |
Downloads the given files.
|
|
OnPropertyChanged ( |
Raises the INotifyPropertyChanged.PropertyChanged event. This persists the task state to storage, so it can be resumed on client restart. |
|
OnTaskEnded ( |
Raises the IBackgroundTask.TaskEnded event. This removes the task state from storage if it failed. |
|
RegisterModFiles ( IList |
Registers the given mods with the registry.
|
메소드 | 설명 | |
---|---|---|
BuildDescriptor ( |
Build the obejct that describes the mod being added.
|
|
Downloader_PropertyChanged ( object sender, |
Handles the INotifyPropertyChanged.PropertyChanged event of the file downloader tasks.
|
|
Downloader_TaskEnded ( object sender, |
Handles the IBackgroundTask.TaskEnded event of the file downloader tasks.
|
|
GetModDisplayName ( ) : string |
Gets the name of the mod to use for display.
|
|
GetModInfo ( |
Get the reposiroty info for the described mod.
|
|
ModBuilder_PropertyChanged ( object sender, |
Handles the INotifyPropertyChanged.PropertyChanged event of the mod builder task.
|
|
ModBuilder_TaskEnded ( object sender, |
Handles the IBackgroundTask.TaskEnded event of the mod builder task.
|
protected AddModFile ( ConfirmOverwriteCallback p_cocConfirmOverwrite ) : void | ||
p_cocConfirmOverwrite | ConfirmOverwriteCallback | The delegate to call to resolve conflicts with existing files. |
리턴 | void |
public AddModTask ( IGameMode p_gmdGameMode, |
||
p_gmdGameMode | IGameMode | The game mode for which mods are being managed. |
p_rmmReadMeManager | The ReadMe Manager info. | |
p_eifEnvironmentInfo | IEnvironmentInfo | The application's envrionment info. |
p_mrgModRegistry | The |
|
p_frgFormatRegistry | IModFormatRegistry | The |
p_mrpModRepository | IModRepository | The mod repository from which to get mods and mod metadata. |
p_uriPath | The path to the mod to add. | |
p_cocConfirmOverwrite | ConfirmOverwriteCallback | The delegate to call to resolve conflicts with existing files. |
리턴 | System |
protected DownloadFiles ( List |
||
p_lstFiles | List |
The files to download. |
p_booQueued | bool | |
리턴 | void |
protected OnPropertyChanged ( |
||
e | A |
|
리턴 | void |
protected OnTaskEnded ( |
||
e | A |
|
리턴 | void |
protected RegisterModFiles ( IList |
||
p_lstAddedMods | IList |
The mods that have been added and need to be registered with the manager. |
리턴 | void |