namespace Content.Server.GameTicking.Rules.Components; /// /// Simple GameRule that will do a free-for-all death match. /// Kill everybody else to win. /// [RegisterComponent, Access(typeof(DeathMatchRuleSystem))] public sealed partial class DeathMatchRuleComponent : Component { /// /// How long until the round restarts /// [DataField("restartDelay"), ViewVariables(VVAccess.ReadWrite)] public float RestartDelay = 10f; /// /// How long after a person dies will the restart be checked /// [DataField("deadCheckDelay"), ViewVariables(VVAccess.ReadWrite)] public float DeadCheckDelay = 5f; /// /// A timer for checking after a death /// [DataField("deadCheckTimer"), ViewVariables(VVAccess.ReadWrite)] public float? DeadCheckTimer; /// /// A timer for the restart. /// [DataField("restartTimer"), ViewVariables(VVAccess.ReadWrite)] public float? RestartTimer; }