Show / Hide Table of Contents

Class PathPoly

Inheritance
System.Object
PathPoly
Namespace: Content.Server.NPC.Pathfinding
Assembly: Content.Server.dll
Syntax
public sealed class PathPoly : IEquatable<PathPoly>

Constructors

| Improve this Doc View Source

PathPoly(EntityUid, Vector2i, Byte, Box2, PathfindingData, HashSet<PathPoly>)

Declaration
public PathPoly(EntityUid graphUid, Vector2i chunkOrigin, byte tileIndex, Box2 vertices, PathfindingData data, HashSet<PathPoly> neighbors)
Parameters
Type Name Description
EntityUid graphUid
Vector2i chunkOrigin
System.Byte tileIndex
Box2 vertices
PathfindingData data
HashSet<PathPoly> neighbors

Fields

| Improve this Doc View Source

Box

Declaration
public readonly Box2 Box
Field Value
Type Description
Box2
| Improve this Doc View Source

ChunkOrigin

Declaration
public readonly Vector2i ChunkOrigin
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

GraphUid

Declaration
public readonly EntityUid GraphUid
Field Value
Type Description
EntityUid
| Improve this Doc View Source

Neighbors

Declaration
public readonly HashSet<PathPoly> Neighbors
Field Value
Type Description
HashSet<PathPoly>
| Improve this Doc View Source

TileIndex

Declaration
public readonly byte TileIndex
Field Value
Type Description
System.Byte

Properties

| Improve this Doc View Source

Coordinates

Declaration
public EntityCoordinates Coordinates { get; }
Property Value
Type Description
Robust.Shared.Map.EntityCoordinates

Methods

| Improve this Doc View Source

Equals(PathPoly)

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

GetHashCode()

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32
| Improve this Doc View Source

IsEquivalent(PathPoly)

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

IsValid()

Declaration
public bool IsValid()
Returns
Type Description
System.Boolean
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾