Show / Hide Table of Contents

Class PressureEvent

Inheritance
System.Object
PressureEvent
HighPressureEvent
LowPressureEvent
Namespace: Content.Server.Atmos
Assembly: Content.Server.dll
Syntax
public abstract class PressureEvent : EntityEventArgs

Constructors

| Improve this Doc View Source

PressureEvent(Single)

Declaration
protected PressureEvent(float pressure)
Parameters
Type Name Description
System.Single pressure

Properties

| Improve this Doc View Source

Modifier

The modifier for the apparent pressure. This number will be added to the environment pressure for calculation purposes. It can be negative to reduce the felt pressure, or positive to increase it.

Declaration
public float Modifier { get; set; }
Property Value
Type Description
System.Single
Remarks

Do not set this directly. Add to it, or subtract from it to modify it.

| Improve this Doc View Source

Multiplier

The multiplier for the apparent pressure. The environment pressure will be multiplied by this for calculation purposes.

Declaration
public float Multiplier { get; set; }
Property Value
Type Description
System.Single
Remarks

Do not set, add to or subtract from this directly. Multiply this by your multiplier only.

| Improve this Doc View Source

Pressure

The environment pressure.

Declaration
public float Pressure { get; }
Property Value
Type Description
System.Single
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾