Method | Description | |
---|---|---|
ActivatePlugin ( |
Activates the given plugin.
|
|
ActivatePlugin ( string p_strPath ) : void |
Activates the specified plugin.
|
|
AddPlugin ( string p_strPluginPath ) : bool |
Adds the specified plugin to the list of managed plugins.
|
|
AutoPluginSorting ( ConfirmActionMethod p_camConfirm ) : IBackgroundTask |
Automatically sorts the managed plugins.
|
|
CanActivatePlugins ( ) : bool |
Determines if the game mode can handle more active plugins.
|
|
CanChangeActiveState ( |
Determines if the active state of the given plugin can be changed.
|
|
DeactivatePlugin ( |
Deactivates the given plugin.
|
|
DeactivatePlugin ( string p_strPath ) : void |
Deactivates the specified plugin.
|
|
GetPluginOrderIndex ( |
Gets the load order of the specifid plugin.
|
|
GetRegisteredPlugin ( string p_strPath ) : |
Gets the specified plugin.
|
|
Initialize ( IGameMode p_gmdGameMode, |
Initializes the singleton intances of the mod manager.
|
|
IsActivatiblePluginFile ( string p_strPath ) : bool |
Determines if the specified file is a plugin that can be activated for the game mode.
|
|
IsPluginActive ( string p_strPath ) : bool |
Determines if the specified plugin is active.
|
|
IsPluginRegistered ( string p_strPath ) : bool |
Determines if the specified plugin is registered.
|
|
ManageMultiplePluginsTask ( List |
Runs the managed updaters.
|
|
Release ( ) : void |
This disposes of the singleton object, allowing it to be re-initialized.
|
|
RemovePlugin ( |
Removes the given plugin from the list of managed plugins.
|
|
RemovePlugin ( string p_strPluginPath ) : void |
Removes the specified plugin from the list of managed plugins.
|
|
SetPluginActivation ( string p_strPath, bool p_booActive ) : void |
Sets the activations status of the specified plugin.
|
|
SetPluginOrder ( IList |
Sets the order of the plugins to the given order. If the given list does not include all registered plugins, then the plugins are ordered in a manner so as to not displace the positions of the plugins whose order was not specified. |
|
SetPluginOrderIndex ( |
Sets the load order of the specifid plugin.
|
|
ValidateOrder ( IList |
Determines if the specified plugin order is valid.
|
Method | Description | |
---|---|---|
PluginManager ( IGameMode p_gmdGameMode, |
A simple constructor that initializes the object with its dependencies.
|
public ActivatePlugin ( |
||
p_plgPlugin | The plugin to activate. | |
return | void |
public ActivatePlugin ( string p_strPath ) : void | ||
p_strPath | string | The path to the plugin to activate. |
return | void |
public AddPlugin ( string p_strPluginPath ) : bool | ||
p_strPluginPath | string | The path to the plugin to add. |
return | bool |
public AutoPluginSorting ( ConfirmActionMethod p_camConfirm ) : IBackgroundTask | ||
p_camConfirm | ConfirmActionMethod | The delegate to call to confirm an action. |
return | IBackgroundTask |
public CanChangeActiveState ( |
||
p_plgPlugin | The plugin for which it is to be determined if the active state can be changed. | |
return | bool |
public DeactivatePlugin ( |
||
p_plgPlugin | The plugin to deactivate. | |
return | void |
public DeactivatePlugin ( string p_strPath ) : void | ||
p_strPath | string | The path to the plugin to deactivate. |
return | void |
public GetPluginOrderIndex ( |
||
p_plgPlugin | The plugin whose load order is to be returned. | |
return |
public GetRegisteredPlugin ( string p_strPath ) : |
||
p_strPath | string | The path of the plugin to retrieve. |
return |
public static Initialize ( IGameMode p_gmdGameMode, |
||
p_gmdGameMode | IGameMode | The current game mode. |
p_mprManagedPluginRegistry | The |
|
p_aplPluginLog | The |
|
p_polOrderLog | IPluginOrderLog | The |
p_povOrderValidator | IPluginOrderValidator | The object that validates plugin order. |
return | IPluginManager |
public IsActivatiblePluginFile ( string p_strPath ) : bool | ||
p_strPath | string | The path to the file for which it is to be determined if it is a plugin file. |
return | bool |
public IsPluginActive ( string p_strPath ) : bool | ||
p_strPath | string | The path to the plugin whose active status is to be determined. |
return | bool |
public IsPluginRegistered ( string p_strPath ) : bool | ||
p_strPath | string | The path to the plugin whose registration status is to be determined. |
return | bool |
public ManageMultiplePluginsTask ( List |
||
p_lstPlugins | List |
|
p_booEnable | bool | Enable/Disable/Toggle. |
p_camConfirm | ConfirmActionMethod | The delegate to call to confirm an action. |
return | IBackgroundTask |
public RemovePlugin ( |
||
p_plgPlugin | The plugin to remove. | |
return | void |
public RemovePlugin ( string p_strPluginPath ) : void | ||
p_strPluginPath | string | The path to the plugin to remove. |
return | void |
public SetPluginActivation ( string p_strPath, bool p_booActive ) : void | ||
p_strPath | string | The path to the plugin whose status is to be set. |
p_booActive | bool | Whether to activate the plugin, or deactivate it. |
return | void |
public SetPluginOrder ( IList |
||
p_lstOrderedPlugins | IList |
The list indicating the desired order of the plugins. |
return | void |
public SetPluginOrderIndex ( |
||
p_plgPlugin | The plugin whose load order is to be set. | |
p_intNewIndex | int | The new load order index of the plugin. |
return | void |
public ValidateOrder ( IList |
||
p_lstPlugins | IList |
The plugins whose order is to be validated. |
return | bool |