Show / Hide Table of Contents

Interface IBotWithQueue<T>

The interface for an automated bot with a queue of actions.

Inherited Members
IBotWithQueue.QueueStarted
IBotWithQueue.QueueStopped
IBotWithQueue.QueueIndex
IBotWithQueue.QueueCount
IBotWithQueue.Start(int)
IAutomatedBot<T>.CurrentAction
IAutomatedBot.Name
IAutomatedBot.CurrentUrge
IAutomatedBot.IsRunning
IAutomatedBot.Start()
IAutomatedBot.Stop()
IAutomatedBot.Reset()
IHasParameters.Parameters
Namespace: Microsoft.XboxStudios.BotBrain
Assembly: BotBrain.Abstractions.dll
Syntax
public interface IBotWithQueue<T> : IBotWithQueue, IAutomatedBot<T>, IAutomatedBot, IHasParameters
Type Parameters
Name Description
T

The type of actions the bot supports.

Methods

View Source

SetActions(IEnumerable<T>)

Sets the action queue.

Declaration
Task SetActions(IEnumerable<T> actions)
Parameters
Type Name Description
IEnumerable<T> actions

The actions.

Returns
Type Description
Task

A task.

Extension Methods

IBotWithQueueExtensions.WaitForQueueStopped(IBotWithQueue, Func<Task>?, CancellationToken)
  • View Source
In this article
Back to top Generated by DocFX