Show / Hide Table of Contents

Interface IController

An interface representing an Unreal Engine pawn controller.

Namespace: Microsoft.XboxStudios.GameStateTracker.Unreal
Assembly: GameStateTracker.Unreal.dll
Syntax
public interface IController

Properties

View Source

Pawn

Gets the cached controlled pawn.

Declaration
APawn? Pawn { get; }
Property Value
Type Description
APawn
View Source

PlayerState

Gets the cached player state.

Declaration
APlayerInfo? PlayerState { get; }
Property Value
Type Description
APlayerInfo

Methods

View Source

GetPawn(TimeSpan)

Gets the controlled pawn.

Declaration
Task<APawn?> GetPawn(TimeSpan maxAge)
Parameters
Type Name Description
TimeSpan maxAge

The maximum age of the object, if it exists in the cache.

Returns
Type Description
Task<APawn>

A pawn object.

View Source

GetPlayerState(TimeSpan)

Gets the player state.

Declaration
Task<APlayerInfo?> GetPlayerState(TimeSpan maxAge)
Parameters
Type Name Description
TimeSpan maxAge

The maximum age of the object, if it exists in the cache.

Returns
Type Description
Task<APlayerInfo>

A player state object.

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