Show / Hide Table of Contents

Class AStarPathRequest

Inheritance
System.Object
PathRequest
AStarPathRequest
Namespace: Content.Server.NPC.Pathfinding
Assembly: Content.Server.dll
Syntax
public sealed class AStarPathRequest : PathRequest

Constructors

| Improve this Doc View Source

AStarPathRequest(EntityCoordinates, EntityCoordinates, PathFlags, Single, Int32, Int32, CancellationToken)

Declaration
public AStarPathRequest(EntityCoordinates start, EntityCoordinates end, PathFlags flags, float distance, int layer, int mask, CancellationToken cancelToken)
Parameters
Type Name Description
Robust.Shared.Map.EntityCoordinates start
Robust.Shared.Map.EntityCoordinates end
PathFlags flags
System.Single distance
System.Int32 layer
System.Int32 mask
CancellationToken cancelToken

Fields

| Improve this Doc View Source

Distance

How close we need to be to the end node to be considered as arrived.

Declaration
public float Distance
Field Value
Type Description
System.Single
| Improve this Doc View Source

End

Declaration
public EntityCoordinates End
Field Value
Type Description
Robust.Shared.Map.EntityCoordinates
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾