Show / Hide Table of Contents

Class RespiratorComponent

Inheritance
System.Object
RespiratorComponent
Namespace: Content.Server.Body.Components
Assembly: Content.Server.dll
Syntax
public sealed class RespiratorComponent : Component

Fields

| Improve this Doc View Source

AccumulatedFrametime

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

CycleDelay

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

Damage

Declaration
public DamageSpecifier Damage
Field Value
Type Description
DamageSpecifier
| Improve this Doc View Source

DamageRecovery

Declaration
public DamageSpecifier DamageRecovery
Field Value
Type Description
DamageSpecifier
| Improve this Doc View Source

LastGaspPopupTime

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

MaxSaturation

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

MinSaturation

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

Saturation

Saturation level. Reduced by CycleDelay each tick. Can be thought of as 'how many seconds you have until you start suffocating' in this configuration.

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

Status

Declaration
public RespiratorStatus Status
Field Value
Type Description
RespiratorStatus
| Improve this Doc View Source

SuffocationCycles

How many cycles in a row has the mob been under-saturated?

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

SuffocationCycleThreshold

How many cycles in a row does it take for the suffocation alert to pop up?

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

SuffocationThreshold

At what level of saturation will you begin to suffocate?

Declaration
public float SuffocationThreshold
Field Value
Type Description
System.Single

Properties

| Improve this Doc View Source

GaspPopupCooldown

Declaration
public TimeSpan GaspPopupCooldown { get; }
Property Value
Type Description
TimeSpan
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾