24 lines
725 B
C#
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;
|
|
}
|