EscapePodComponent.cs 537 B

123456789101112131415
  1. using Content.Server.Shuttles.Systems;
  2. using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
  3. namespace Content.Server.Shuttles.Components;
  4. /// <summary>
  5. /// If added to a grid gets launched when the emergency shuttle launches.
  6. /// </summary>
  7. [RegisterComponent, Access(typeof(EmergencyShuttleSystem)), AutoGenerateComponentPause]
  8. public sealed partial class EscapePodComponent : Component
  9. {
  10. [DataField(customTypeSerializer:typeof(TimeOffsetSerializer))]
  11. [AutoPausedField]
  12. public TimeSpan? LaunchTime;
  13. }