Rebornbuddy
|
Provides events for common situations in the bot. More...
Classes | |
class | BotChangedEventArgs |
Additional information for bottom changed events. More... | |
class | BotStartStopRequestEventArgs |
Represents event args for the OnBotStartRequested and OnBotStopRequested events. More... | |
class | BotStoppedEventArgs |
class | NeoProfile |
A profile. More... |
Public Member Functions | |
delegate void | OnBotStartStopRequestedDelegate (BotStartStopRequestEventArgs args) |
delegate void | OnBotStartDelegate (EventArgs args) |
The bot start delegate event. | |
delegate void | OnBotStopDelegate (EventArgs args) |
The bot stop delegate event. | |
delegate void | OnBotChangedDelegate (BotChangedEventArgs args) |
Raises the bottom changed event. |
Static Public Member Functions | |
static void | PulseEvents () |
Pulse events. |
Events | |
static OnBotStartStopRequestedDelegate | OnBotStartRequested |
Fired right before the bot is started. | |
static EventHandler< EventArgs > | PreBotStarting |
Fired right before the bot begins starting. | |
static OnBotStartDelegate | OnBotStarted |
Fired right after the bot has started. | |
static OnBotStartStopRequestedDelegate | OnBotStopRequested |
Fired when a bot stop is requested. | |
static OnBotStopDelegate | OnBotStopped |
Fired right after the bot has been stopped. | |
static OnBotChangedDelegate | OnBotChanged |
Fired when the current bot is changed with the usage of TreeRoot.SetCurrent. | |
static EventHandler< EventArgs > | OnPulse |
Fired on every bot pulse if bot events are enabled. |
Provides events for common situations in the bot.
delegate void ff14bot.NeoProfile.BotEvents.OnBotChangedDelegate | ( | BotChangedEventArgs | args | ) |
Raises the bottom changed event.
args | Event information to send to registered event handlers. |
delegate void ff14bot.NeoProfile.BotEvents.OnBotStartDelegate | ( | EventArgs | args | ) |
The bot start delegate event.
args | Event information to send to registered event handlers. |
delegate void ff14bot.NeoProfile.BotEvents.OnBotStartStopRequestedDelegate | ( | BotStartStopRequestEventArgs | args | ) |
delegate void ff14bot.NeoProfile.BotEvents.OnBotStopDelegate | ( | EventArgs | args | ) |
The bot stop delegate event.
args | Event information to send to registered event handlers. |
|
static |
Pulse events.
|
static |
Fired when the current bot is changed with the usage of TreeRoot.SetCurrent.
|
static |
Fired right after the bot has started.
This is fired from the bot thread, before any logic starts executing.
|
static |
Fired right before the bot is started.
Only use this event to signal that a 'Start' should be canceled. In general, use the OnBotStarted event.
This is fired from the thread that invoked the TreeRoot.Start call.
To cancel the start, set the BotStartStopRequestEventArgs.Cancel property to true.
No initialization should be done from subscribers to this event, as it is impossible to know if the bot will be started, because another subscriber might cancel the start.
For initialization, see OnBotStarted.
|
static |
Fired right after the bot has been stopped.
This is fired from the bot thread, before the thread exits.
|
static |
Fired when a bot stop is requested.
Only use this event to signal that a 'Stop' should be canceled. In general use the OnBotStopped event.
This is fired from the thread that invoked the TreeRoot.Stop call.
To cancel the stop, a subscriber can set BotStartStopRequestEventArgs.Cancel to false.
No cleanup should be done in this event, as it is impossible to know whether the stop will go through, because a following subscriber might cancel the stop.
|
static |
Fired on every bot pulse if bot events are enabled.
|
static |
Fired right before the bot begins starting.
This is fired from the thread that invoked the TreeRoot.Start call.
The current bot can be changed from this event and it will take effect on this start up.