using Robust.Shared.Serialization.TypeSerializers.Implementations.Custom; namespace Content.Server.GameTicking.Rules.Components; [RegisterComponent, Access(typeof(XenoborgsRuleSystem))] [AutoGenerateComponentPause] public sealed partial class XenoborgsRuleComponent : Component { /// /// When the round will next check for round end. /// [DataField(customTypeSerializer: typeof(TimeOffsetSerializer))] [AutoPausedField] public TimeSpan? NextRoundEndCheck; /// /// The amount of time between each check for the end of the round. /// [DataField] public TimeSpan EndCheckDelay = TimeSpan.FromSeconds(15); /// /// After this amount of the crew become xenoborgs, the shuttle will be automatically called. /// [DataField] public float XenoborgShuttleCallPercentage = 0.7f; /// /// If the announcment of the death of the mothership core was sent /// [DataField] public bool MothershipCoreDeathAnnouncmentSent = false; }