move gamerule components to shared (#28572)
* move MinMax to shared * cleanup MinMax * move other ticking components to shared just because * remove unused prototype file * update everything to use shared components * test * test 2 * test 3 --------- Co-authored-by: deltanedas <@deltanedas:kde.org>
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom;
|
||||
|
||||
namespace Content.Shared.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;
|
||||
}
|
||||
Reference in New Issue
Block a user