PluginManager
Assembly: uMod.Core.dll
Inheritance Object PluginManager
Implements IPluginManager, IContextManager<IPlugin>
Summary
Manages a set of plugins
Constructors
Name | Summary |
|---|---|
PluginManager ( |
Properties
Name | Summary |
|---|---|
Logger | Gets the logger to which this plugin manager writes |
OnContextAdded | Called when a plugin has been added |
OnContextRemoved | Called when a plugin has been removed |
Methods
Name | Summary |
|---|---|
AddContext ( | Adds a plugin to this manager |
AddPlugin ( | Consistency method |
Calls a hook on all plugins of this manager and prints a deprecation warning | |
CallDeprecatedHook ( | Calls a hook on all plugins of this manager and prints a deprecation warning |
CallDeprecatedHook ( | Calls a hook on all plugins of this manager and prints a deprecation warning |
Calls a hook on all plugins of this manager | |
Calls a hook on all plugins of this manager | |
CallHook ( | Calls a hook on all plugins of this manager |
Calls a hook on all plugins of this manager | |
CallHook ( | Calls a hook on all plugins of this manager |
Exists ( | Determines if a plugin exists by the specified name |
GetPlugin ( | Gets a plugin by name |
GetPlugins () | Gets all plugins managed by this manager |
GetPlugins< | Gets all plugins that implement the specified type |
Check if the specified plugin subscribes to the specified hook | |
IsSubscribedToHook ( | Checks if any plugin subscribes to the specified hook |
Check if the specified plugin subscribes to the specified hook | |
Check if any hook subscribed by any plugin subscribes to the specified hook | |
RemoveAll () | Removes all plugins from context manager |
RemoveContext ( | Removes a plugin from this manager |
RemovePlugin ( | Consistency method |
Subscribes the specified plugin to the specified hook | |
Unsubscribes the specified plugin to the specified hook |