Show / Hide Table of Contents

Class OvermindBot

Represents the overmind bot.

Inheritance
object
EventPublisher<BotActionEventArgs>
BotWithEvents<OvermindAction>
AutomatedBotBase<OvermindAction>
AutomatedBot<OvermindBot, OvermindAction>
OvermindBot
Implements
IEventPublisher<BotActionEventArgs>
IBotWithEvents<OvermindAction>
IBotWithEvents
IBotWithQueue<OvermindAction>
IBotWithQueue
IAutomatedBot<OvermindAction>
IAutomatedBot
IHasParameters
IDisposable
Inherited Members
AutomatedBot<OvermindBot, OvermindAction>.GetOperation(OvermindAction)
AutomatedBot<OvermindBot, OvermindAction>.StartOrResumeExecution<T>(IOperation<T>, T, CancellationToken)
AutomatedBot<OvermindBot, OvermindAction>.StartOrResumeExecution(OvermindAction, CancellationToken)
AutomatedBot<OvermindBot, OvermindAction>.StartExecution(IOperation<OvermindBot>, CancellationToken)
AutomatedBot<OvermindBot, OvermindAction>.StartExecution<T>(IOperation<T>, T, CancellationToken)
AutomatedBotBase<OvermindAction>.QueueStarted
AutomatedBotBase<OvermindAction>.QueueStopped
AutomatedBotBase<OvermindAction>.StopAfterError
AutomatedBotBase<OvermindAction>.IsRunning
AutomatedBotBase<OvermindAction>.CurrentAction
AutomatedBotBase<OvermindAction>.QueueIndex
AutomatedBotBase<OvermindAction>.QueueCount
AutomatedBotBase<OvermindAction>.Start()
AutomatedBotBase<OvermindAction>.Start(int)
AutomatedBotBase<OvermindAction>.Stop()
AutomatedBotBase<OvermindAction>.Reset()
AutomatedBotBase<OvermindAction>.Dispose()
AutomatedBotBase<OvermindAction>.SetActions(IEnumerable<OvermindAction>)
AutomatedBotBase<OvermindAction>.StartOrResumeExecution(OvermindAction, CancellationToken)
AutomatedBotBase<OvermindAction>.OnQueueStarted()
AutomatedBotBase<OvermindAction>.OnQueueStopped()
AutomatedBotBase<OvermindAction>.HandleActionFailed(OvermindAction, Exception)
BotWithEvents<OvermindAction>.ActionStarted
BotWithEvents<OvermindAction>.ActionFailed
BotWithEvents<OvermindAction>.ActionFinished
BotWithEvents<OvermindAction>.Name
BotWithEvents<OvermindAction>.CurrentUrge
BotWithEvents<OvermindAction>.Parameters
BotWithEvents<OvermindAction>.ToString()
BotWithEvents<OvermindAction>.OnActionStarted()
BotWithEvents<OvermindAction>.OnActionFinished(OvermindAction)
BotWithEvents<OvermindAction>.OnActionFailed(OvermindAction, Exception)
EventPublisher<BotActionEventArgs>.Publish(object, BotActionEventArgs)
EventPublisher<BotActionEventArgs>.EventReceived
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
Namespace: Microsoft.XboxStudios.BotBrain.Overmind
Assembly: BotBrain.Overmind.dll
Syntax
public class OvermindBot : AutomatedBot<OvermindBot, OvermindAction>, IEventPublisher<BotActionEventArgs>, IBotWithEvents<OvermindAction>, IBotWithEvents, IBotWithQueue<OvermindAction>, IBotWithQueue, IAutomatedBot<OvermindAction>, IAutomatedBot, IHasParameters, IDisposable

Constructors

View Source

OvermindBot(OvermindSettings, OvermindState)

Initializes a new instance of the OvermindBot class.

Declaration
public OvermindBot(OvermindSettings settings, OvermindState state)
Parameters
Type Name Description
OvermindSettings settings

The overmind settings.

OvermindState state

The overmind state.

Properties

View Source

Settings

Gets the overmind settings.

Declaration
public OvermindSettings Settings { get; }
Property Value
Type Description
OvermindSettings
View Source

State

Gets the overmind state.

Declaration
public OvermindState State { get; }
Property Value
Type Description
OvermindState

Methods

View Source

LogActionFailed(object?, BotActionFailedEventArgs)

Called when an overmind bot action fails.

Declaration
protected virtual void LogActionFailed(object? sender, BotActionFailedEventArgs e)
Parameters
Type Name Description
object sender

The bot which failed.

BotActionFailedEventArgs e

The event details.

Implements

Microsoft.XboxStudios.GameStateTracker.Events.IEventPublisher<T>
IBotWithEvents<TAction>
IBotWithEvents
IBotWithQueue<T>
IBotWithQueue
IAutomatedBot<TAction>
IAutomatedBot
IHasParameters
IDisposable

Extension Methods

IEventPublisherExtensions.WaitForAsync<T>(IEventPublisher<T>, Func<T, bool>?, CancellationToken)
  • View Source
In this article
Back to top Generated by DocFX