16
Content.Shared/Clock/GlobalTimeManagerComponent.cs
Normal file
16
Content.Shared/Clock/GlobalTimeManagerComponent.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using Robust.Shared.GameStates;
|
||||
|
||||
namespace Content.Shared.Clock;
|
||||
|
||||
/// <summary>
|
||||
/// This is used for globally managing the time on-station
|
||||
/// </summary>
|
||||
[RegisterComponent, NetworkedComponent, AutoGenerateComponentState, AutoGenerateComponentPause, Access(typeof(SharedClockSystem))]
|
||||
public sealed partial class GlobalTimeManagerComponent : Component
|
||||
{
|
||||
/// <summary>
|
||||
/// A fixed random offset, used to fuzz the time between shifts.
|
||||
/// </summary>
|
||||
[DataField, AutoPausedField, AutoNetworkedField]
|
||||
public TimeSpan TimeOffset;
|
||||
}
|
||||
Reference in New Issue
Block a user