Class OvermindBotEventArgs
Wraps an event from a bot running within overmind.
Inherited Members
Namespace: Microsoft.XboxStudios.BotBrain.Overmind
Assembly: BotBrain.Overmind.dll
Syntax
public class OvermindBotEventArgs : OvermindEventArgs
Constructors
View SourceOvermindBotEventArgs(IAutomatedBot, BotActionEventArgs, string?)
Initializes a new instance of the OvermindBotEventArgs class.
Declaration
public OvermindBotEventArgs(IAutomatedBot bot, BotActionEventArgs botEvent, string? message = null)
Parameters
| Type | Name | Description |
|---|---|---|
| IAutomatedBot | bot | The bot. |
| BotActionEventArgs | botEvent | The event that occurred. |
| string | message | A description of the event. |
Properties
View SourceBot
Gets the bot.
Declaration
[JsonIgnore]
public IAutomatedBot Bot { get; }
Property Value
| Type | Description |
|---|---|
| IAutomatedBot |
BotEvent
Gets the event that occurred.
Declaration
public BotActionEventArgs BotEvent { get; }
Property Value
| Type | Description |
|---|---|
| BotActionEventArgs |