Class AtmosDeviceComponent
Adds itself to a
Inheritance
System.Object
AtmosDeviceComponent
Namespace: Content.Server.Atmos.Piping.Components
Assembly: Content.Server.dll
Syntax
public sealed class AtmosDeviceComponent : Component
Properties
| Improve this Doc View SourceJoinedGrid
If non-null, the grid that this device is part of.
Declaration
public EntityUid? JoinedGrid { get; set; }
Property Value
Type | Description |
---|---|
System.Nullable<EntityUid> |
JoinedSystem
Indicates that a device is not on a grid atmosphere but still being updated.
Declaration
public bool JoinedSystem { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
JoinSystem
If true, update even when there is no grid atmosphere. Normally, atmos devices only update when inside a grid atmosphere, because they work with gases in the environment and won't do anything useful if there is no environment. This is useful for devices like gas canisters whose contents can still react if the canister itself is not inside a grid atmosphere.
Declaration
public bool JoinSystem { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
LastProcess
Declaration
public TimeSpan LastProcess { get; set; }
Property Value
Type | Description |
---|---|
TimeSpan |
RequireAnchored
If true, this device must be anchored before it will receive any AtmosDeviceUpdateEvents.
Declaration
public bool RequireAnchored { get; }
Property Value
Type | Description |
---|---|
System.Boolean |