RespawnDeadRuleComponent.cs 475 B

1234567891011121314
  1. namespace Content.Server.GameTicking.Rules.Components;
  2. /// <summary>
  3. /// This is used for gamemodes that automatically respawn players when they're no longer alive.
  4. /// </summary>
  5. [RegisterComponent, Access(typeof(RespawnRuleSystem))]
  6. public sealed partial class RespawnDeadRuleComponent : Component
  7. {
  8. /// <summary>
  9. /// Whether or not we want to add everyone who dies to the respawn tracker
  10. /// </summary>
  11. [DataField]
  12. public bool AlwaysRespawnDead;
  13. }