Show / Hide Table of Contents

Interface IAutomatedBot

The interface for an automated bot.

Namespace: Microsoft.XboxStudios.BotBrain
Assembly: BotBrain.Abstractions.dll
Syntax
public interface IAutomatedBot

Properties

View Source

CurrentAction

Gets the bot's current action.

Declaration
object? CurrentAction { get; }
Property Value
Type Description
object
View Source

CurrentUrge

Gets or sets the bot's current urge.

Declaration
object? CurrentUrge { get; set; }
Property Value
Type Description
object
View Source

IsRunning

Gets a value indicating whether the bot is executing an action.

Declaration
bool IsRunning { get; }
Property Value
Type Description
bool
View Source

Name

Gets or sets the name of the bot.

Declaration
string? Name { get; set; }
Property Value
Type Description
string

Methods

View Source

Reset()

Resets the bot's current action and stops the bot.

Declaration
Task Reset()
Returns
Type Description
Task

A task that completes once the bot is reset.

View Source

Start()

Starts executing the bot's current action.

Declaration
Task Start()
Returns
Type Description
Task

A task that completes once the action begins.

View Source

Stop()

Stops executing the bot's current action.

Declaration
Task Stop()
Returns
Type Description
Task

A task that completes once the action stops.

  • View Source
In this article
Back to top Generated by DocFX