Files
crystall-punk-14/Content.Shared/_CP14/Demiplane/Components/CP14StationDemiplaneMapComponent.cs
Red fa22152b42 Demiplane redesign again (again) (#1640)
* rooms generation fix??

* demiplane map returns

* wawa

* fix
2025-08-08 17:37:16 +03:00

24 lines
725 B
C#

namespace Content.Shared._CP14.Demiplane.Components;
/// <summary>
/// A station component that stores information about the current map of demiplanes, their research status and relationships.
/// </summary>
[RegisterComponent]
public sealed partial class CP14StationDemiplaneMapComponent : Component
{
[DataField]
public Dictionary<Vector2i, CP14DemiplaneMapNode> Nodes = new();
/// <summary>
/// Connections between rooms. Order matters! The first element is the start, the second is the end.
/// </summary>
[DataField]
public HashSet<(Vector2i, Vector2i)> Edges = new();
[DataField]
public HashSet<Vector2i> GeneratedNodes = new();
[DataField]
public int TotalCount = 15;
}