Class BFSPathRequest
Inheritance
System.Object
BFSPathRequest
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 |
|