using Robust.Shared.GameStates; namespace Content.Shared.Pinpointer; /// /// Used to store grid poly data to be used for UIs. /// [RegisterComponent, NetworkedComponent] public sealed partial class NavMapComponent : Component { /* * Don't need DataFields as this can be reconstructed */ [ViewVariables] public readonly Dictionary Chunks = new(); [ViewVariables] public readonly List Beacons = new(); [ViewVariables] public readonly List Airlocks = new(); } public sealed class NavMapChunk { public readonly Vector2i Origin; /// /// Bitmask for tiles, 1 for occupied and 0 for empty. /// public int TileData; public NavMapChunk(Vector2i origin) { Origin = origin; } }