Show / Hide Table of Contents

Class DeathMatchRuleComponent

Gamerule that ends when a player gets a certain number of kills.

Inheritance
System.Object
DeathMatchRuleComponent
Namespace: Content.Server.GameTicking.Rules.Components
Assembly: Content.Server.dll
Syntax
public sealed class DeathMatchRuleComponent : Component

Fields

| Improve this Doc View Source

Gear

The gear all players spawn with.

Declaration
public string Gear
Field Value
Type Description
System.String
| Improve this Doc View Source

KillCap

The number of points a player has to get to win.

Declaration
public FixedPoint2 KillCap
Field Value
Type Description
FixedPoint2
| Improve this Doc View Source

RestartDelay

How long until the round restarts

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

RewardSpawns

An entity spawned after a player is killed.

Declaration
public List<EntitySpawnEntry> RewardSpawns
Field Value
Type Description
List<EntitySpawnEntry>
| Improve this Doc View Source

Victor

The person who won. We store this here in case of some assist shenanigans.

Declaration
public NetUserId? Victor
Field Value
Type Description
System.Nullable<Robust.Shared.Network.NetUserId>
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾