Show / Hide Table of Contents

Class BarotraumaSystem

Inheritance
System.Object
BarotraumaSystem
Namespace: Content.Server.Atmos.EntitySystems
Assembly: Content.Server.dll
Syntax
public sealed class BarotraumaSystem : EntitySystem

Methods

| Improve this Doc View Source

GetFeltHighPressure(EntityUid, BarotraumaComponent, Single)

Returns adjusted pressure after having applied resistances from equipment and innate (if any), to check against a high pressure hazard threshold

Declaration
public float GetFeltHighPressure(EntityUid uid, BarotraumaComponent barotrauma, float environmentPressure)
Parameters
Type Name Description
EntityUid uid
BarotraumaComponent barotrauma
System.Single environmentPressure
Returns
Type Description
System.Single
| Improve this Doc View Source

GetFeltLowPressure(EntityUid, BarotraumaComponent, Single)

Returns adjusted pressure after having applied resistances from equipment and innate (if any), to check against a low pressure hazard threshold

Declaration
public float GetFeltLowPressure(EntityUid uid, BarotraumaComponent barotrauma, float environmentPressure)
Parameters
Type Name Description
EntityUid uid
BarotraumaComponent barotrauma
System.Single environmentPressure
Returns
Type Description
System.Single
| Improve this Doc View Source

Initialize()

Declaration
public override void Initialize()
| Improve this Doc View Source

Update(Single)

Declaration
public override void Update(float frameTime)
Parameters
Type Name Description
System.Single frameTime
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾