메소드 | 설명 | |
---|---|---|
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.
|
메소드 | 설명 | |
---|---|---|
PluginManager ( IGameMode p_gmdGameMode, |
A simple constructor that initializes the object with its dependencies.
|
public ActivatePlugin ( |
||
p_plgPlugin | The plugin to activate. | |
리턴 | void |
public ActivatePlugin ( string p_strPath ) : void | ||
p_strPath | string | The path to the plugin to activate. |
리턴 | void |
public AddPlugin ( string p_strPluginPath ) : bool | ||
p_strPluginPath | string | The path to the plugin to add. |
리턴 | bool |
public AutoPluginSorting ( ConfirmActionMethod p_camConfirm ) : IBackgroundTask | ||
p_camConfirm | ConfirmActionMethod | The delegate to call to confirm an action. |
리턴 | IBackgroundTask |
public CanChangeActiveState ( |
||
p_plgPlugin | The plugin for which it is to be determined if the active state can be changed. | |
리턴 | bool |
public DeactivatePlugin ( |
||
p_plgPlugin | The plugin to deactivate. | |
리턴 | void |
public DeactivatePlugin ( string p_strPath ) : void | ||
p_strPath | string | The path to the plugin to deactivate. |
리턴 | void |
public GetPluginOrderIndex ( |
||
p_plgPlugin | The plugin whose load order is to be returned. | |
리턴 |
public GetRegisteredPlugin ( string p_strPath ) : |
||
p_strPath | string | The path of the plugin to retrieve. |
리턴 |
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. |
리턴 | 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. |
리턴 | bool |
public IsPluginActive ( string p_strPath ) : bool | ||
p_strPath | string | The path to the plugin whose active status is to be determined. |
리턴 | bool |
public IsPluginRegistered ( string p_strPath ) : bool | ||
p_strPath | string | The path to the plugin whose registration status is to be determined. |
리턴 | bool |
public ManageMultiplePluginsTask ( List |
||
p_lstPlugins | List |
|
p_booEnable | bool | Enable/Disable/Toggle. |
p_camConfirm | ConfirmActionMethod | The delegate to call to confirm an action. |
리턴 | IBackgroundTask |
public RemovePlugin ( |
||
p_plgPlugin | The plugin to remove. | |
리턴 | void |
public RemovePlugin ( string p_strPluginPath ) : void | ||
p_strPluginPath | string | The path to the plugin to remove. |
리턴 | 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. |
리턴 | void |
public SetPluginOrder ( IList |
||
p_lstOrderedPlugins | IList |
The list indicating the desired order of the plugins. |
리턴 | 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. |
리턴 | void |
public ValidateOrder ( IList |
||
p_lstPlugins | IList |
The plugins whose order is to be validated. |
리턴 | bool |