Interface IBrainBotData
An interface for storing bot-related information.
Namespace: Microsoft.XboxStudios.BotBrain
Assembly: BotBrain.Core.dll
Syntax
public interface IBrainBotData
Properties
View SourceAverageUpdateDuration
Gets the rolling average time to update the bot.
Declaration
TimeSpan AverageUpdateDuration { get; }
Property Value
| Type | Description |
|---|---|
| TimeSpan |
BestAction
Gets the chosen action.
Declaration
object? BestAction { get; }
Property Value
| Type | Description |
|---|---|
| object |
BestUrge
Gets the chosen urge.
Declaration
IUrge? BestUrge { get; }
Property Value
| Type | Description |
|---|---|
| IUrge |
Bot
Gets the bot.
Declaration
object Bot { get; }
Property Value
| Type | Description |
|---|---|
| object |
CancelToken
Gets a cancellation token used to stop controlling the bot.
Declaration
CancellationToken CancelToken { get; }
Property Value
| Type | Description |
|---|---|
| CancellationToken |
LastUpdateDuration
Gets the time spent during the last time the bot was updated.
Declaration
TimeSpan? LastUpdateDuration { get; }
Property Value
| Type | Description |
|---|---|
| TimeSpan? |
LastUpdateTime
Gets the last time the bot was updated.
Declaration
DateTime? LastUpdateTime { get; }
Property Value
| Type | Description |
|---|---|
| DateTime? |
Recommendations
Gets a mapping from urge to the recommended actions and urgencies.
Declaration
IDictionary<IUrge, ICollection<IBotBrainUrgeResult>>? Recommendations { get; }
Property Value
| Type | Description |
|---|---|
| IDictionary<IUrge, ICollection<IBotBrainUrgeResult>> |
UpdateCount
Gets the number of times the bot has been updated.
Declaration
uint UpdateCount { get; }
Property Value
| Type | Description |
|---|---|
| uint |