Show / Hide Table of Contents

Class LaunchTestGame

The overmind urge responsible for launching games.

Inheritance
object
UrgeBase<OvermindState, OvermindBot, OvermindAction>
OvermindUrgeBase
LaunchGame
LaunchTestGame
Implements
IUrge<OvermindState, OvermindBot, OvermindAction>
IUrge
IEquatable<IUrge>
Inherited Members
LaunchGame.RunSync(OvermindState, OvermindBot)
OvermindUrgeBase.Run(OvermindState, OvermindBot)
UrgeBase<OvermindState, OvermindBot, OvermindAction>.NoUrgeName
UrgeBase<OvermindState, OvermindBot, OvermindAction>.Logger
UrgeBase<OvermindState, OvermindBot, OvermindAction>.Name
UrgeBase<OvermindState, OvermindBot, OvermindAction>.Type
UrgeBase<OvermindState, OvermindBot, OvermindAction>.IsExclusive
UrgeBase<OvermindState, OvermindBot, OvermindAction>.ToString()
UrgeBase<OvermindState, OvermindBot, OvermindAction>.Equals(IUrge)
UrgeBase<OvermindState, OvermindBot, OvermindAction>.Equals(object)
UrgeBase<OvermindState, OvermindBot, OvermindAction>.GetHashCode()
UrgeBase<OvermindState, OvermindBot, OvermindAction>.Run(OvermindState, OvermindBot)
UrgeBase<OvermindState, OvermindBot, OvermindAction>.GetParameter<T>(OvermindBot, string)
UrgeBase<OvermindState, OvermindBot, OvermindAction>.GetParameter<T>(OvermindBot, IEnumerable<string>)
UrgeBase<OvermindState, OvermindBot, OvermindAction>.TryGetParameter<T>(OvermindBot, IEnumerable<string>, out T)
UrgeBase<OvermindState, OvermindBot, OvermindAction>.TryGetParameter<T>(OvermindBot, string, out T)
UrgeBase<OvermindState, OvermindBot, OvermindAction>.GetParameterNames(string)
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Microsoft.XboxStudios.BotBrain.Samples.Meta
Assembly: BotBrain.Samples.dll
Syntax
public class LaunchTestGame : LaunchGame, IUrge<OvermindState, OvermindBot, OvermindAction>, IUrge, IEquatable<IUrge?>

Properties

View Source

GameStateName

Gets a description of the game state type.

Declaration
protected override string GameStateName { get; }
Property Value
Type Description
string
Overrides
LaunchGame.GameStateName

Methods

View Source

CreateGameStateAsync(IDevice, IRoleBasedScenario, ILaunchGameRole)

Creates the game state.

Declaration
protected override Task<object> CreateGameStateAsync(IDevice device, IRoleBasedScenario scenario, ILaunchGameRole role)
Parameters
Type Name Description
IDevice device

The device to use.

IRoleBasedScenario scenario

The scenario.

ILaunchGameRole role

The role.

Returns
Type Description
Task<object>

A state object.

Overrides
LaunchGame.CreateGameStateAsync(IDevice, IRoleBasedScenario, ILaunchGameRole)
View Source

PerformLaunch(IDevice, IRoleBasedScenario, ILaunchGameRole)

Launches a game.

Declaration
protected override IDeviceOperation PerformLaunch(IDevice device, IRoleBasedScenario scenario, ILaunchGameRole role)
Parameters
Type Name Description
IDevice device

The device to use.

IRoleBasedScenario scenario

The scenario.

ILaunchGameRole role

The role.

Returns
Type Description
IDeviceOperation

A device operation to launch a game.

Overrides
LaunchGame.PerformLaunch(IDevice, IRoleBasedScenario, ILaunchGameRole)

Implements

IUrge<TState, TBot, TAction>
IUrge
IEquatable<T>
  • View Source
In this article
Back to top Generated by DocFX