Show / Hide Table of Contents

Class AtmosMonitorSystem

Inheritance
System.Object
AtmosMonitorSystem
Namespace: Content.Server.Atmos.Monitor.Systems
Assembly: Content.Server.dll
Syntax
public sealed class AtmosMonitorSystem : EntitySystem

Fields

| Improve this Doc View Source

AtmosMonitorSetThresholdCmd

Declaration
public const string AtmosMonitorSetThresholdCmd = null
Field Value
Type Description
System.String
| Improve this Doc View Source

AtmosMonitorThresholdData

Declaration
public const string AtmosMonitorThresholdData = null
Field Value
Type Description
System.String
| Improve this Doc View Source

AtmosMonitorThresholdDataType

Declaration
public const string AtmosMonitorThresholdDataType = null
Field Value
Type Description
System.String
| Improve this Doc View Source

AtmosMonitorThresholdGasType

Declaration
public const string AtmosMonitorThresholdGasType = null
Field Value
Type Description
System.String

Methods

| Improve this Doc View Source

Alert(EntityUid, AtmosAlarmType, Nullable<HashSet<AtmosMonitorThresholdType>>, AtmosMonitorComponent)

Alerts the network that the state of a monitor has changed.

Declaration
public void Alert(EntityUid uid, AtmosAlarmType state, HashSet<AtmosMonitorThresholdType>? alarms = null, AtmosMonitorComponent monitor = null)
Parameters
Type Name Description
EntityUid uid
AtmosAlarmType state

The alarm state to set this monitor to.

System.Nullable<HashSet<AtmosMonitorThresholdType>> alarms

The alarms that caused this alarm state.

AtmosMonitorComponent monitor
| Improve this Doc View Source

Initialize()

Declaration
public override void Initialize()
| Improve this Doc View Source

SetThreshold(EntityUid, AtmosMonitorThresholdType, AtmosAlarmThreshold, Nullable<Gas>, AtmosMonitorComponent)

Set a monitor's threshold.

Declaration
public void SetThreshold(EntityUid uid, AtmosMonitorThresholdType type, AtmosAlarmThreshold threshold, Gas? gas = null, AtmosMonitorComponent monitor = null)
Parameters
Type Name Description
EntityUid uid
AtmosMonitorThresholdType type

The type of threshold to change.

AtmosAlarmThreshold threshold

Threshold data.

System.Nullable<Gas> gas

Gas, if applicable.

AtmosMonitorComponent monitor
  • Improve this Doc
  • View Source
☀
☾
In This Article
Back to top
Generated by DocFX
☀
☾