Show / Hide Table of Contents

Class ZombieRuleComponent

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

Fields

| Improve this Doc View Source

EndCheckDelay

The amount of time between each check for the end of the round.

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

InfectedChosen

Whether or not the initial infected have been chosen.

Declaration
public bool InfectedChosen
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

InitialInfectedNames

Declaration
public Dictionary<string, string> InitialInfectedNames
Field Value
Type Description
Dictionary<System.String, System.String>
| Improve this Doc View Source

InitialInfectedSound

The sound that plays when someone becomes an initial infected. todo: this should have a unique sound instead of reusing the zombie one.

Declaration
public SoundSpecifier InitialInfectedSound
Field Value
Type Description
Robust.Shared.Audio.SoundSpecifier
| Improve this Doc View Source

MaxInitialInfected

The maximum number of initial infected.

Declaration
public int MaxInitialInfected
Field Value
Type Description
System.Int32
| Improve this Doc View Source

MaxInitialInfectedGrace

The maximum amount of time initial infected have before they start taking damage.

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

MaxStartDelay

The maximum amount of time after the round starts that the initial infected will be chosen.

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

MinInitialInfectedGrace

The minimum amount of time initial infected have before they start taking infection damage.

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

MinStartDelay

The minimum amount of time after the round starts that the initial infected will be chosen.

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

NextRoundEndCheck

When the round will next check for round end.

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

PatientZeroPrototypeId

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

PlayersPerInfected

How many players for each initial infected.

Declaration
public int PlayersPerInfected
Field Value
Type Description
System.Int32
| Improve this Doc View Source

ShuttleCalled

Have we called the evac shuttle yet?

Declaration
public bool ShuttleCalled
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

StartTime

The time at which the initial infected will be chosen.

Declaration
public TimeSpan? StartTime
Field Value
Type Description
System.Nullable<TimeSpan>
| Improve this Doc View Source

ZombieShuttleCallPercentage

After this amount of the crew become zombies, the shuttle will be automatically called.

Declaration
public float ZombieShuttleCallPercentage
Field Value
Type Description
System.Single
| Improve this Doc View Source

ZombifySelfActionPrototype

Declaration
public const string ZombifySelfActionPrototype = null
Field Value
Type Description
System.String
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾