Show / Hide Table of Contents

Class UrgeResult

A helper class used to construct instances of UrgeResult<TState, TBot, TAction>.

Inheritance
object
UrgeResult
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Microsoft.XboxStudios.BotBrain
Assembly: BotBrain.Core.dll
Syntax
public static class UrgeResult

Methods

View Source

Create<TState, TBot, TAction>(IUrge<TState, TBot, TAction>, IRecommendedAction<TAction>)

Creates a new urge result from an urge and recommended action.

Declaration
public static UrgeResult<TState, TBot, TAction> Create<TState, TBot, TAction>(IUrge<TState, TBot, TAction> urge, IRecommendedAction<TAction> action) where TBot : IAutomatedBot<TAction>
Parameters
Type Name Description
IUrge<TState, TBot, TAction> urge

The urge.

IRecommendedAction<TAction> action

The recommended action.

Returns
Type Description
UrgeResult<TState, TBot, TAction>

A new urge result.

Type Parameters
Name Description
TState

The game state type.

TBot

The bot type.

TAction

The action type.

  • View Source
In this article
Back to top Generated by DocFX