Show / Hide Table of Contents

Class AirlockComponent

Companion component to DoorComponent that handles airlock-specific behavior -- wires, requiring power to operate, bolts, and allowing automatic closing.

Inheritance
System.Object
AirlockComponent
Namespace: Content.Shared.Doors.Components
Assembly: Content.Shared.dll
Syntax
public sealed class AirlockComponent : Component

Fields

| Improve this Doc View Source

AnimatePanel

Whether or not to animate the panel when the door opens or closes.

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

AutoClose

Whether the airlock should auto close. This value is reset every time the airlock closes.

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

AutoCloseDelay

Delay until an open door automatically closes.

Declaration
public TimeSpan AutoCloseDelay
Field Value
Type Description
TimeSpan
| Improve this Doc View Source

AutoCloseDelayModifier

Multiplicative modifier for the auto-close delay. Can be modified by hacking the airlock wires. Setting to zero will disable auto-closing.

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

AutoClosePort

The receiver port for turning off automatic closing.

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

ClosedSpriteState

The sprite state used for the closed airlock lights.

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

ClosingPanelSpriteState

The sprite state used to animate the airlock panel when the airlock closes.

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

ClosingSpriteState

The sprite state used to animate the airlock frame when the airlock closes.

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

DenyAnimationTime

How long the animation played when the airlock denies access is in seconds.

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

DenySpriteState

The sprite state used for the 'access denied' lights animation.

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

EmergencyAccess

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

EmergencyAccessLayer

Whether the door should display emergency access lights.

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

KeepOpenIfClicked

Whether the airlock should stay open if the airlock was clicked. If the airlock was bumped into it will still auto close.

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

OpeningPanelSpriteState

The sprite state used to animate the airlock panel when the airlock opens.

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

OpeningSpriteState

The sprite state used to animate the airlock frame when the airlock opens.

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

OpenPanelVisible

Whether the maintenance panel should be visible even if the airlock is opened.

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

OpenSpriteState

The sprite state used for the open airlock lights.

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

OpenUnlitVisible

Whether the door lights should be visible.

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

PoweredPryModifier

Pry modifier for a powered airlock. Most anything that can pry powered has a pry speed bonus, so this default is closer to 6 effectively on e.g. jaws (9 seconds when applied to other default.)

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

Safety

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