using Content.Server.Shuttles.Systems;
using Content.Server.Station.Systems;
namespace Content.Server.Station.Components;
///
/// Stores core information about a station, namely its config and associated grids.
/// All station entities will have this component.
///
[RegisterComponent, Access(typeof(StationSystem))]
public sealed class StationDataComponent : Component
{
///
/// The game map prototype, if any, associated with this station.
///
[DataField("stationConfig")]
public StationConfig? StationConfig = null;
///
/// List of all grids this station is part of.
///
///
/// You should not mutate this yourself, go through StationSystem so the appropriate events get fired.
///
[DataField("grids")]
public readonly HashSet Grids = new();
///
/// The emergency shuttle assigned to this station.
///
[ViewVariables, Access(typeof(ShuttleSystem), Friend = AccessPermissions.ReadWrite)]
public EntityUid? EmergencyShuttle;
}