using Content.Shared.Station.Systems;
using Robust.Shared.GameStates;
namespace Content.Shared.Station.Components;
///
/// Component that tracks which station an entity is currently on.
/// Mainly used for UI purposes on the client to easily get station-specific data like alert levels.
///
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState, Access(typeof(StationSystem))]
public sealed partial class StationTrackerComponent : Component
{
///
/// The station this entity is currently on, if any.
/// Null when in space or not on any grid.
///
[DataField, AutoNetworkedField]
public EntityUid? Station;
///
/// If true, will show the name of the currently linked station on examine.
///
[DataField]
public bool Examinable;
}