Class OvermindBot
Represents the overmind bot.
Implements
IEventPublisher<BotActionEventArgs>
Inherited Members
AutomatedBot<OvermindBot, OvermindAction>.StartExecution(IOperation<OvermindBot>, CancellationToken)
EventPublisher<BotActionEventArgs>.EventReceived
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 SourceOvermindBot(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 SourceSettings
Gets the overmind settings.
Declaration
public OvermindSettings Settings { get; }
Property Value
Type | Description |
---|---|
OvermindSettings |
State
Gets the overmind state.
Declaration
public OvermindState State { get; }
Property Value
Type | Description |
---|---|
OvermindState |
Methods
View SourceLogActionFailed(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>