Méthode | Description | |
---|---|---|
Install ( string p_strModName, XmlScript p_xscScript, |
Performs the mod installation based on the XML script.
|
|
XmlScriptInstaller ( IMod p_modMod, IGameMode p_gmdGameMode, InstallerGroup p_igpInstallers ) : System |
A simple constructor that initializes the object with the required dependencies.
|
Méthode | Description | |
---|---|---|
InstallFile ( InstallableFile p_ilfFile, bool p_booActivate ) : bool |
Installs the given InstallableFile, and activates any plugins it encompasses as requested.
|
|
InstallFiles ( XmlScript p_xscScript, |
Installs and activates files are required. This method is used by the background worker.
|
|
InstallFolderFromMod ( InstallableFile p_ilfFile ) : bool |
Recursively copies all files and folders from one location to another.
|
Méthode | Description | |
---|---|---|
SaveXMLInstalledFiles ( string p_strFrom, string p_strTo ) : void |
Create the XML file with the Install Files list (From the rar to the folder).
|
public Install ( string p_strModName, XmlScript p_xscScript, |
||
p_strModName | string | The name of the mod whose script in executing. |
p_xscScript | XmlScript | The script that is executing. |
p_csmStateManager | The state manager managing the install state. | |
p_colFilesToInstall | ICollection |
The list of files to install. |
p_colPluginsToActivate | ICollection |
The list of plugins to activate. |
Résultat | bool |
protected InstallFile ( InstallableFile p_ilfFile, bool p_booActivate ) : bool | ||
p_ilfFile | InstallableFile | The file to install. |
p_booActivate | bool | Whether or not to activate the given file, if it is a plugin. |
Résultat | bool |
protected InstallFiles ( XmlScript p_xscScript, |
||
p_xscScript | XmlScript | |
p_csmStateManager | ||
p_colFilesToInstall | ICollection |
|
p_colPluginsToActivate | ICollection |
|
Résultat | bool |
protected InstallFolderFromMod ( InstallableFile p_ilfFile ) : bool | ||
p_ilfFile | InstallableFile | The folder to install. |
Résultat | bool |
public XmlScriptInstaller ( IMod p_modMod, IGameMode p_gmdGameMode, InstallerGroup p_igpInstallers ) : System | ||
p_modMod | IMod | The mod for which the script is running. |
p_gmdGameMode | IGameMode | The game mode currently being managed. |
p_igpInstallers | InstallerGroup | The utility class to use to install the mod items. |
Résultat | System |