Class PressureEvent
Namespace: Content.Server.Atmos
Assembly: Content.Server.dll
Syntax
public abstract class PressureEvent : EntityEventArgs
Constructors
| Improve this Doc View SourcePressureEvent(Single)
Declaration
protected PressureEvent(float pressure)
Parameters
Type | Name | Description |
---|---|---|
System.Single | pressure |
Properties
| Improve this Doc View SourceModifier
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.
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.
Pressure
The environment pressure.
Declaration
public float Pressure { get; }
Property Value
Type | Description |
---|---|
System.Single |