* Update StationSpawningSystem.cs Web-edit to allow feeding in an existing entity. * Update StationSpawningSystem.cs value type moment * Update StationSpawningSystem.cs * Oh goddamnit this is a refactor now. * awawawa * aaaaaaaaaaa * ee * forgot records. * no records? no records. * What's in a name? * Sloth forcing me to do the refactor properly smh. * e * optional evac in test. * tests pls work * awa --------- Co-authored-by: moonheart08 <moonheart08@users.noreply.github.com>
27 lines
852 B
C#
27 lines
852 B
C#
using Content.Server.Shuttles.Systems;
|
|
using Content.Server.Station.Systems;
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations;
|
|
using Robust.Shared.Utility;
|
|
|
|
namespace Content.Server.Station.Components;
|
|
|
|
/// <summary>
|
|
/// Stores core information about a station, namely its config and associated grids.
|
|
/// All station entities will have this component.
|
|
/// </summary>
|
|
[RegisterComponent, Access(typeof(StationSystem))]
|
|
public sealed class StationDataComponent : Component
|
|
{
|
|
/// <summary>
|
|
/// The game map prototype, if any, associated with this station.
|
|
/// </summary>
|
|
[DataField("stationConfig")]
|
|
public StationConfig? StationConfig = null;
|
|
|
|
/// <summary>
|
|
/// List of all grids this station is part of.
|
|
/// </summary>
|
|
[DataField("grids")]
|
|
public readonly HashSet<EntityUid> Grids = new();
|
|
}
|