Show / Hide Table of Contents

Class BFSPathRequest

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

Constructors

| Improve this Doc View Source

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

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

Fields

| Improve this Doc View Source

ExpansionLimit

How many nodes we're allowed to expand

Declaration
public int ExpansionLimit
Field Value
Type Description
System.Int32
| Improve this Doc View Source

ExpansionRange

How far away we're allowed to expand in distance.

Declaration
public float ExpansionRange
Field Value
Type Description
System.Single
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾