2023-08-30 21:06:15 -04:00
|
|
|
|
namespace Content.Server.GameTicking.Rules.Components;
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// This is used for gamemodes that automatically respawn players when they're no longer alive.
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[RegisterComponent, Access(typeof(RespawnRuleSystem))]
|
|
|
|
|
|
public sealed partial class RespawnDeadRuleComponent : Component
|
|
|
|
|
|
{
|
2024-06-02 23:28:38 -04:00
|
|
|
|
/// <summary>
|
|
|
|
|
|
/// Whether or not we want to add everyone who dies to the respawn tracker
|
|
|
|
|
|
/// </summary>
|
|
|
|
|
|
[DataField]
|
|
|
|
|
|
public bool AlwaysRespawnDead;
|
2023-08-30 21:06:15 -04:00
|
|
|
|
}
|