Show / Hide Table of Contents

Interface IBrainBotData

An interface for storing bot-related information.

Namespace: Microsoft.XboxStudios.BotBrain
Assembly: BotBrain.Core.dll
Syntax
public interface IBrainBotData

Properties

View Source

AverageUpdateDuration

Gets the rolling average time to update the bot.

Declaration
TimeSpan AverageUpdateDuration { get; }
Property Value
Type Description
TimeSpan
View Source

BestAction

Gets the chosen action.

Declaration
object? BestAction { get; }
Property Value
Type Description
object
View Source

BestUrge

Gets the chosen urge.

Declaration
IUrge? BestUrge { get; }
Property Value
Type Description
IUrge
View Source

Bot

Gets the bot.

Declaration
object Bot { get; }
Property Value
Type Description
object
View Source

CancelToken

Gets a cancellation token used to stop controlling the bot.

Declaration
CancellationToken CancelToken { get; }
Property Value
Type Description
CancellationToken
View Source

LastUpdateDuration

Gets the time spent during the last time the bot was updated.

Declaration
TimeSpan? LastUpdateDuration { get; }
Property Value
Type Description
TimeSpan?
View Source

LastUpdateTime

Gets the last time the bot was updated.

Declaration
DateTime? LastUpdateTime { get; }
Property Value
Type Description
DateTime?
View Source

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>>
View Source

UpdateCount

Gets the number of times the bot has been updated.

Declaration
uint UpdateCount { get; }
Property Value
Type Description
uint
  • View Source
In this article
Back to top Generated by DocFX