2023-03-24 12:54:41 +11:00
|
|
|
using Content.Server.Shuttles.Systems;
|
|
|
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
|
|
|
|
|
|
|
|
|
|
namespace Content.Server.Shuttles.Components;
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
/// If added to a grid gets launched when the emergency shuttle launches.
|
|
|
|
|
/// </summary>
|
2024-02-26 04:36:19 +01:00
|
|
|
[RegisterComponent, Access(typeof(EmergencyShuttleSystem)), AutoGenerateComponentPause]
|
2023-08-22 18:14:33 -07:00
|
|
|
public sealed partial class EscapePodComponent : Component
|
2023-03-24 12:54:41 +11:00
|
|
|
{
|
|
|
|
|
[DataField("launchTime", customTypeSerializer:typeof(TimeOffsetSerializer))]
|
2024-02-26 04:36:19 +01:00
|
|
|
[AutoPausedField]
|
2023-03-24 12:54:41 +11:00
|
|
|
public TimeSpan? LaunchTime;
|
|
|
|
|
}
|