2023-05-19 15:45:09 -05:00
|
|
|
|
using Content.Server.Shuttles.Systems;
|
|
|
|
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations;
|
|
|
|
|
|
using Robust.Shared.Utility;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Content.Server.Shuttles.Components;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// This is used for controlling evacuation for a station.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[RegisterComponent]
|
2023-08-22 18:14:33 -07:00
|
|
|
|
public sealed partial class StationEmergencyShuttleComponent : Component
|
2023-05-19 15:45:09 -05:00
|
|
|
|
{
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// The emergency shuttle assigned to this station.
|
|
|
|
|
|
/// </summary>
|
2024-04-19 18:57:12 -04:00
|
|
|
|
[DataField, Access(typeof(ShuttleSystem), typeof(EmergencyShuttleSystem), Friend = AccessPermissions.ReadWrite)]
|
2023-05-19 15:45:09 -05:00
|
|
|
|
public EntityUid? EmergencyShuttle;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Emergency shuttle map path for this station.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[DataField("emergencyShuttlePath", customTypeSerializer: typeof(ResPathSerializer))]
|
|
|
|
|
|
public ResPath EmergencyShuttlePath { get; set; } = new("/Maps/Shuttles/emergency.yml");
|
|
|
|
|
|
}
|