Show / Hide Table of Contents

Class GridPathfindingComponent

Stores the relevant pathfinding data for grids.

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

Fields

| Improve this Doc View Source

Chunks

Declaration
public readonly Dictionary<Vector2i, GridPathfindingChunk> Chunks
Field Value
Type Description
Dictionary<Vector2i, GridPathfindingChunk>
| Improve this Doc View Source

DirtyChunks

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

DirtyPortals

Declaration
public readonly List<PathPortal> DirtyPortals
Field Value
Type Description
List<PathPortal>
| Improve this Doc View Source

NextUpdate

Next time the graph is allowed to update.

Declaration
public TimeSpan NextUpdate
Field Value
Type Description
TimeSpan
| Improve this Doc View Source

PortalLookup

Retrieves the chunk where the specified portal is stored on this grid.

Declaration
public readonly Dictionary<PathPortal, Vector2i> PortalLookup
Field Value
Type Description
Dictionary<PathPortal, Vector2i>
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾