using Content.Server.Shuttles.Systems;
using Robust.Shared.Serialization.TypeSerializers.Implementations;
using Robust.Shared.Utility;
namespace Content.Server.Shuttles.Components;
///
/// This is used for controlling evacuation for a station.
///
[RegisterComponent]
public sealed partial class StationEmergencyShuttleComponent : Component
{
///
/// The emergency shuttle assigned to this station.
///
[ViewVariables, Access(typeof(ShuttleSystem), typeof(EmergencyShuttleSystem), Friend = AccessPermissions.ReadWrite)]
public EntityUid? EmergencyShuttle;
///
/// Emergency shuttle map path for this station.
///
[DataField("emergencyShuttlePath", customTypeSerializer: typeof(ResPathSerializer))]
public ResPath EmergencyShuttlePath { get; set; } = new("/Maps/Shuttles/emergency.yml");
}