Rebornbuddy
Loading...
Searching...
No Matches
ff14bot.Managers.PluginManager Class Reference

Static Public Member Functions

static void Add (BotPlugin p)
static void SetEnabledPlugins (params string[] plugins)
 Reload all plugins from the specified directory.
static IEnumerable< string > GetEnabledPlugins ()
 Gets the enabled plugins.
static void PulseAllPlugins ()
 Pulses all plugins.
static void PulsePlugin (IBotPlugin plugin)
 Pulses a specific plugin instance.

Properties

static string PluginDirectory [get]
static AsyncObservableCollection< PluginContainerPlugins [get, set]
 Gets all the currently loaded plugins.

Events

static EventHandler< EventArgs > OnPluginsReloaded
 Occurs when [on plugins reloaded].

Member Function Documentation

◆ Add()

void ff14bot.Managers.PluginManager.Add ( BotPlugin p)
static

◆ GetEnabledPlugins()

IEnumerable< string > ff14bot.Managers.PluginManager.GetEnabledPlugins ( )
static

Gets the enabled plugins.

Created 4/26/2012.

Returns
An enumerator that allows foreach to be used to process get enabled plugins in this collection.

◆ PulseAllPlugins()

void ff14bot.Managers.PluginManager.PulseAllPlugins ( )
static

Pulses all plugins.

Created 3/21/2012.

◆ PulsePlugin()

void ff14bot.Managers.PluginManager.PulsePlugin ( IBotPlugin plugin)
static

Pulses a specific plugin instance.

Created 3/21/2012.

Parameters
pluginThe plugin.

◆ SetEnabledPlugins()

void ff14bot.Managers.PluginManager.SetEnabledPlugins ( params string[] plugins)
static

Reload all plugins from the specified directory.

Created 3/21/2012.

Parameters
pluginsDirectoryPathname of the plugins directory.
reloadOnFileChangetrue to reload on file change.

Sets a list of plugins to be enabled.

Created 4/26/2012.

Parameters
pluginsA variable-length parameters list containing plugins.

Property Documentation

◆ PluginDirectory

string ff14bot.Managers.PluginManager.PluginDirectory
staticget

◆ Plugins

AsyncObservableCollection<PluginContainer> ff14bot.Managers.PluginManager.Plugins
staticgetset

Gets all the currently loaded plugins.

The plugins.

Event Documentation

◆ OnPluginsReloaded

EventHandler<EventArgs> ff14bot.Managers.PluginManager.OnPluginsReloaded
static

Occurs when [on plugins reloaded].

Created 2012-06-07