Show / Hide Table of Contents

Class GasTankComponent

Inheritance
System.Object
GasTankComponent
Implements
IGasMixtureHolder
Namespace: Content.Server.Atmos.Components
Assembly: Content.Server.dll
Syntax
public sealed class GasTankComponent : Component, IGasMixtureHolder

Fields

| Improve this Doc View Source

CheckUser

True if this entity was recently moved out of a container. This might have been a hand -> inventory transfer, or it might have been the user dropping the tank. This indicates the tank needs to be checked.

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

ConnectSound

Declaration
public SoundSpecifier ConnectSound
Field Value
Type Description
Robust.Shared.Audio.SoundSpecifier
| Improve this Doc View Source

ConnectStream

Declaration
public IPlayingAudioStream ConnectStream
Field Value
Type Description
Robust.Shared.Audio.IPlayingAudioStream
| Improve this Doc View Source

DisconnectSound

Declaration
public SoundSpecifier DisconnectSound
Field Value
Type Description
Robust.Shared.Audio.SoundSpecifier
| Improve this Doc View Source

DisconnectStream

Declaration
public IPlayingAudioStream DisconnectStream
Field Value
Type Description
Robust.Shared.Audio.IPlayingAudioStream
| Improve this Doc View Source

Integrity

Declaration
public int Integrity
Field Value
Type Description
System.Int32
| Improve this Doc View Source

IsValveOpen

Valve to release gas from tank

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

MaxExplosionRange

Declaration
public const float MaxExplosionRange = null
Field Value
Type Description
System.Single
| Improve this Doc View Source

MaxOutputPressure

The maximum allowed output pressure.

Declaration
public float MaxOutputPressure
Field Value
Type Description
System.Single
| Improve this Doc View Source

OutputPressure

Distributed pressure.

Declaration
public float OutputPressure
Field Value
Type Description
System.Single
| Improve this Doc View Source

RuptureSound

Declaration
public SoundSpecifier RuptureSound
Field Value
Type Description
Robust.Shared.Audio.SoundSpecifier
| Improve this Doc View Source

TankFragmentPressure

Base 3x3 explosion.

Declaration
public float TankFragmentPressure
Field Value
Type Description
System.Single
| Improve this Doc View Source

TankFragmentScale

Increases explosion for each scale kPa above threshold.

Declaration
public float TankFragmentScale
Field Value
Type Description
System.Single
| Improve this Doc View Source

TankLeakPressure

Pressure at which tanks start leaking.

Declaration
public float TankLeakPressure
Field Value
Type Description
System.Single
| Improve this Doc View Source

TankLowPressure

Pressure at which tank should be considered 'low' such as for internals.

Declaration
public float TankLowPressure
Field Value
Type Description
System.Single
| Improve this Doc View Source

TankRupturePressure

Pressure at which tank spills all contents into atmosphere.

Declaration
public float TankRupturePressure
Field Value
Type Description
System.Single
| Improve this Doc View Source

ToggleAction

Declaration
public string ToggleAction
Field Value
Type Description
System.String
| Improve this Doc View Source

ToggleActionEntity

Declaration
public EntityUid? ToggleActionEntity
Field Value
Type Description
System.Nullable<EntityUid>
| Improve this Doc View Source

User

Declaration
public EntityUid? User
Field Value
Type Description
System.Nullable<EntityUid>
| Improve this Doc View Source

ValveOutputRate

Gas release rate in L/s

Declaration
public float ValveOutputRate
Field Value
Type Description
System.Single
| Improve this Doc View Source

ValveSound

Declaration
public SoundSpecifier ValveSound
Field Value
Type Description
Robust.Shared.Audio.SoundSpecifier

Properties

| Improve this Doc View Source

Air

Declaration
public GasMixture Air { get; set; }
Property Value
Type Description
GasMixture
| Improve this Doc View Source

IsConnected

Tank is connected to internals.

Declaration
public bool IsConnected { get; }
Property Value
Type Description
System.Boolean
| Improve this Doc View Source

IsLowPressure

Declaration
public bool IsLowPressure { get; }
Property Value
Type Description
System.Boolean

Implements

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