Struct PathfindingData
The data relevant for pathfinding.
Assembly: Content.Shared.dll
Syntax
public struct PathfindingData : IEquatable<PathfindingData>
Constructors
|
Improve this Doc
View Source
PathfindingData(PathfindingBreadcrumbFlag, Int32, Int32, Single)
Declaration
public PathfindingData(PathfindingBreadcrumbFlag flag, int layer, int mask, float damage)
Parameters
Fields
|
Improve this Doc
View Source
CollisionLayer
Declaration
public int CollisionLayer
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
CollisionMask
Declaration
Field Value
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
Damage
Declaration
Field Value
Type |
Description |
System.Single |
|
|
Improve this Doc
View Source
Flags
Declaration
public PathfindingBreadcrumbFlag Flags
Field Value
Properties
|
Improve this Doc
View Source
IsFreeSpace
Declaration
public bool IsFreeSpace { get; }
Property Value
Type |
Description |
System.Boolean |
|
Methods
|
Improve this Doc
View Source
Equals(PathfindingData)
Declaration
public bool Equals(PathfindingData other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
Equals(Nullable<Object>)
Declaration
public override bool Equals(object? obj)
Parameters
Type |
Name |
Description |
System.Nullable<System.Object> |
obj |
|
Returns
Type |
Description |
System.Boolean |
|
|
Improve this Doc
View Source
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
|
Improve this Doc
View Source
IsEquivalent(PathfindingData)
Declaration
public bool IsEquivalent(PathfindingData other)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Implements
IEquatable<>