using Content.Shared.DeltaV.Shuttles.Systems;
using Robust.Shared.GameStates;
using Robust.Shared.Map;
using Robust.Shared.Serialization;
namespace Content.Shared.DeltaV.Shuttles.Components;
///
/// Component that stores destinations a docking-only shuttle can use.
/// Used by to access destinations.
///
[RegisterComponent, NetworkedComponent, Access(typeof(SharedDockingShuttleSystem))]
public sealed partial class DockingShuttleComponent : Component
{
///
/// The station this shuttle belongs to.
///
[DataField]
public EntityUid? Station;
///
/// Every destination this console can FTL to.
///
[DataField]
public List Destinations = new();
}
///
/// A map a shuttle can FTL to.
/// Created automatically on shuttle mapinit.
///
[DataDefinition, Serializable, NetSerializable]
public partial struct DockingDestination
{
///
/// The name of the destination to use in UI.
///
[DataField]
public LocId Name;
///
/// The map ID.
///
[DataField]
public MapId Map;
}