Class ARoute
A class representing an Unreal Engine ARoute.
Inherited Members
Namespace: Microsoft.XboxStudios.GameStateTracker.Unreal
Assembly: GameStateTracker.Unreal.dll
Syntax
[GameClass("Route")]
[GameProperty(new string[] { "RouteList" })]
public class ARoute : AActor, IGameObject, INotifyPropertyChanged, IActor, IObject
Remarks
Initializes a new instance of the ARoute class.
Constructors
View SourceARoute(IGameObject)
A class representing an Unreal Engine ARoute.
Declaration
public ARoute(IGameObject gameObject)
Parameters
Type | Name | Description |
---|---|---|
IGameObject | gameObject | The game object to encapsulate. |
Remarks
Initializes a new instance of the ARoute class.
Methods
View SourceGetNodes(TimeSpan, CancellationToken)
Gets the route nodes.
Declaration
public Task<IEnumerable<AActor>> GetNodes(TimeSpan maxAge, CancellationToken token = default)
Parameters
Type | Name | Description |
---|---|---|
TimeSpan | maxAge | The maximum age of the objects, if they exist in the cache. |
CancellationToken | token | The cancellation token. |
Returns
Type | Description |
---|---|
Task<IEnumerable<AActor>> | An enumerable of route nodes. |