Struct AtmosExposedGetAirEvent
Event that tries to query the mixture a certain entity is exposed to.
Namespace: Content.Server.Atmos.EntitySystems
Assembly: Content.Server.dll
Syntax
public struct AtmosExposedGetAirEvent
Constructors
| Improve this Doc View SourceAtmosExposedGetAirEvent(EntityUid, Boolean)
Declaration
public AtmosExposedGetAirEvent(EntityUid entity, bool invalidate = false)
Parameters
Type | Name | Description |
---|---|---|
EntityUid | entity | |
System.Boolean | invalidate |
Fields
| Improve this Doc View SourceEntity
The entity we want to query this for.
Declaration
public readonly EntityUid Entity
Field Value
Type | Description |
---|---|
EntityUid |
Gas
The mixture that the entity is exposed to. Output parameter.
Declaration
public GasMixture Gas
Field Value
Type | Description |
---|---|
GasMixture |
Handled
Whether this event has been handled or not. Check this before changing anything.
Declaration
public bool Handled
Field Value
Type | Description |
---|---|
System.Boolean |
Invalidate
Whether to invalidate the mixture, if possible.
Declaration
public bool Invalidate
Field Value
Type | Description |
---|---|
System.Boolean |