19 lines
576 B
C#
19 lines
576 B
C#
using Content.Server.Shuttles.Systems;
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
|
|
|
|
namespace Content.Server.Shuttles.Components;
|
|
|
|
[RegisterComponent, Access(typeof(ArrivalsSystem))]
|
|
public sealed class ArrivalsShuttleComponent : Component
|
|
{
|
|
[DataField("station")]
|
|
public EntityUid Station;
|
|
|
|
[DataField("nextTransfer", customTypeSerializer:typeof(TimeOffsetSerializer))]
|
|
public TimeSpan NextTransfer;
|
|
|
|
[DataField("nextArrivalsTime", customTypeSerializer:typeof(TimeOffsetSerializer))]
|
|
public TimeSpan NextArrivalsTime;
|
|
|
|
}
|