namespace Content.Server.NPC.Pathfinding; /// /// Stores the relevant pathfinding data for grids. /// [RegisterComponent, Access(typeof(PathfindingSystem))] public sealed class GridPathfindingComponent : Component { public readonly HashSet DirtyChunks = new(); /// /// Next time the graph is allowed to update. /// public TimeSpan NextUpdate; public readonly Dictionary Chunks = new(); /// /// Retrieves the chunk where the specified portal is stored on this grid. /// public readonly Dictionary PortalLookup = new(); public readonly List DirtyPortals = new(); }