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 SourceGear
The gear all players spawn with.
Declaration
public string Gear
Field Value
Type | Description |
---|---|
System.String |
KillCap
The number of points a player has to get to win.
Declaration
public FixedPoint2 KillCap
Field Value
Type | Description |
---|---|
FixedPoint2 |
RestartDelay
How long until the round restarts
Declaration
public TimeSpan RestartDelay
Field Value
Type | Description |
---|---|
TimeSpan |
RewardSpawns
An entity spawned after a player is killed.
Declaration
public List<EntitySpawnEntry> RewardSpawns
Field Value
Type | Description |
---|---|
List<EntitySpawnEntry> |
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> |