Show / Hide Table of Contents

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 Source

AtmosExposedGetAirEvent(EntityUid, Boolean)

Declaration
public AtmosExposedGetAirEvent(EntityUid entity, bool invalidate = false)
Parameters
Type Name Description
EntityUid entity
System.Boolean invalidate

Fields

| Improve this Doc View Source

Entity

The entity we want to query this for.

Declaration
public readonly EntityUid Entity
Field Value
Type Description
EntityUid
| Improve this Doc View Source

Gas

The mixture that the entity is exposed to. Output parameter.

Declaration
public GasMixture Gas
Field Value
Type Description
GasMixture
| Improve this Doc View Source

Handled

Whether this event has been handled or not. Check this before changing anything.

Declaration
public bool Handled
Field Value
Type Description
System.Boolean
| Improve this Doc View Source

Invalidate

Whether to invalidate the mixture, if possible.

Declaration
public bool Invalidate
Field Value
Type Description
System.Boolean
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾