Also includes some (non critical) changes to the solution file to re-organize the Roslyn components.
26 lines
819 B
C#
26 lines
819 B
C#
using Content.Server.Shuttles.Systems;
|
|
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
|
|
|
|
namespace Content.Server.Shuttles.Components;
|
|
|
|
[RegisterComponent, Access(typeof(ArrivalsSystem)), AutoGenerateComponentPause]
|
|
public sealed partial class ArrivalsShuttleComponent : Component
|
|
{
|
|
[DataField("station")]
|
|
public EntityUid Station;
|
|
|
|
[DataField("nextTransfer", customTypeSerializer: typeof(TimeOffsetSerializer))]
|
|
[AutoPausedField]
|
|
public TimeSpan NextTransfer;
|
|
|
|
[DataField("nextArrivalsTime", customTypeSerializer: typeof(TimeOffsetSerializer))]
|
|
public TimeSpan NextArrivalsTime;
|
|
|
|
/// <summary>
|
|
/// the first arrivals FTL originates from nullspace instead of the station
|
|
/// </summary>
|
|
[DataField("firstRun")]
|
|
public bool FirstRun = true;
|
|
|
|
}
|