Show / Hide Table of Contents

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 Source

Players

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>
| Improve this Doc View Source

RespawnDelay

The delay between dying and respawning.

Declaration
public TimeSpan RespawnDelay
Field Value
Type Description
TimeSpan
| Improve this Doc View Source

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>
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾