Show / Hide Table of Contents

Interface IBotWithEvents

The interface for an automated bot with events.

Inherited Members
IAutomatedBot.Name
IAutomatedBot.CurrentAction
IAutomatedBot.CurrentUrge
IAutomatedBot.IsRunning
IAutomatedBot.Start()
IAutomatedBot.Stop()
IAutomatedBot.Reset()
IHasParameters.Parameters
Namespace: Microsoft.XboxStudios.BotBrain
Assembly: BotBrain.Abstractions.dll
Syntax
public interface IBotWithEvents : IAutomatedBot, IHasParameters

Events

View Source

ActionFailed

Occurs when a bot action has a failure.

Declaration
event EventHandler<BotActionFailedEventArgs> ActionFailed
Event Type
Type Description
EventHandler<BotActionFailedEventArgs>
View Source

ActionFinished

Occurs when the bot finishes an action.

Declaration
event EventHandler<BotActionEventArgs> ActionFinished
Event Type
Type Description
EventHandler<BotActionEventArgs>
View Source

ActionStarted

Occurs when the bot starts an action.

Declaration
event EventHandler<BotActionEventArgs> ActionStarted
Event Type
Type Description
EventHandler<BotActionEventArgs>

Extension Methods

IBotWithEventsExtensions.WaitForActionFinished(IBotWithEvents, Func<Task>?, CancellationToken)
  • View Source
In this article
Back to top Generated by DocFX