Show / Hide Table of Contents

Struct PathfindingBreadcrumb

Implements
IEquatable<PathfindingBreadcrumb>
Namespace: Content.Shared.NPC
Assembly: Content.Shared.dll
Syntax
public struct PathfindingBreadcrumb : IEquatable<PathfindingBreadcrumb>

Constructors

| Improve this Doc View Source

PathfindingBreadcrumb(Vector2i, Int32, Int32, Single, PathfindingBreadcrumbFlag)

Declaration
public PathfindingBreadcrumb(Vector2i coordinates, int layer, int mask, float damage, PathfindingBreadcrumbFlag flags = default(PathfindingBreadcrumbFlag))
Parameters
Type Name Description
Vector2i coordinates
System.Int32 layer
System.Int32 mask
System.Single damage
PathfindingBreadcrumbFlag flags

Fields

| Improve this Doc View Source

Coordinates

The X and Y index in the point grid. The actual coordinates require using ChunkSize and SubStep

Declaration
public Vector2i Coordinates
Field Value
Type Description
Vector2i
| Improve this Doc View Source

Data

Declaration
public PathfindingData Data
Field Value
Type Description
PathfindingData
| Improve this Doc View Source

Invalid

Declaration
public static readonly PathfindingBreadcrumb Invalid
Field Value
Type Description
PathfindingBreadcrumb

Methods

| Improve this Doc View Source

Equals(PathfindingBreadcrumb)

Declaration
public bool Equals(PathfindingBreadcrumb other)
Parameters
Type Name Description
PathfindingBreadcrumb other
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

Equivalent(PathfindingBreadcrumb)

Is this crumb equal for pathfinding region purposes.

Declaration
public bool Equivalent(PathfindingBreadcrumb other)
Parameters
Type Name Description
PathfindingBreadcrumb other
Returns
Type Description
System.Boolean
| Improve this Doc View Source

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32

Implements

IEquatable<>
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾