GlobalTimeManagerComponent.cs 547 B

12345678910111213141516
  1. using Robust.Shared.GameStates;
  2. namespace Content.Shared.Clock;
  3. /// <summary>
  4. /// This is used for globally managing the time on-station
  5. /// </summary>
  6. [RegisterComponent, NetworkedComponent, AutoGenerateComponentState, AutoGenerateComponentPause, Access(typeof(SharedClockSystem))]
  7. public sealed partial class GlobalTimeManagerComponent : Component
  8. {
  9. /// <summary>
  10. /// A fixed random offset, used to fuzz the time between shifts.
  11. /// </summary>
  12. [DataField, AutoPausedField, AutoNetworkedField]
  13. public TimeSpan TimeOffset;
  14. }