Class RespawnTrackerComponent
This is used for globally tracking players that need to be respawned. Used on gamerule entities.
Inheritance
System.Object
RespawnTrackerComponent
Namespace: Content.Server.GameTicking.Rules.Components
Assembly: Content.Server.dll
Syntax
public sealed class RespawnTrackerComponent : Component
Fields
| Improve this Doc View SourcePlayers
A list of the people that should be respawned. Used to make sure that we don't respawn aghosts or observers.
Declaration
public HashSet<NetUserId> Players
Field Value
Type | Description |
---|---|
HashSet<Robust.Shared.Network.NetUserId> |
RespawnDelay
The delay between dying and respawning.
Declaration
public TimeSpan RespawnDelay
Field Value
Type | Description |
---|---|
TimeSpan |
RespawnQueue
A dictionary of player netuserids and when they will respawn.
Declaration
public Dictionary<NetUserId, TimeSpan> RespawnQueue
Field Value
Type | Description |
---|---|
Dictionary<Robust.Shared.Network.NetUserId, TimeSpan> |