Files
53bd0569eafee46771fcfcf28b507ede15896e8d
17 lines
563 B
C#
17 lines
563 B
C#
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
|
|||
|
|||
namespace Content.Server.GameTicking.Components;
|
|||
|
|||
/// <summary>
|
|||
/// Generic component used to track a gamerule that's start has been delayed.
|
|||
/// </summary>
|
|||
[RegisterComponent, AutoGenerateComponentPause]
|
|||
public sealed partial class DelayedStartRuleComponent : Component
|
|||
{
|
|||
/// <summary>
|
|||
/// The time at which the rule will start properly.
|
|||
/// </summary>
|
|||
[DataField(customTypeSerializer: typeof(TimeOffsetSerializer)), AutoPausedField]
|
|||
public TimeSpan RuleStartTime;
|
|||
}
|