Table of Contents

Class AirlockController

Namespace
Exiled.API.Features.Doors
Assembly
Exiled.API.dll

Represents airlock.

public class AirlockController
Inheritance
AirlockController
Inherited Members
Extension Methods

Constructors

AirlockController(AirlockController)

Initializes a new instance of the AirlockController class.

public AirlockController(AirlockController controller)

Parameters

controller AirlockController

Base-game controller.

Properties

AirlockDisabled

Gets or sets a value indicating whether or airlock is disabled.

public bool AirlockDisabled { get; set; }

Property Value

bool

Base

Gets the basegame controller.

public AirlockController Base { get; }

Property Value

AirlockController

DoorA

Gets the first subdoor.

public Door DoorA { get; }

Property Value

Door

DoorB

Gets the second subdoor.

public Door DoorB { get; }

Property Value

Door

DoorsLocked

Gets or sets a value indicating whether both subdoors are locked.

public bool DoorsLocked { get; set; }

Property Value

bool

List

Gets the list with all airlocks.

public static IReadOnlyCollection<AirlockController> List { get; }

Property Value

IReadOnlyCollection<AirlockController>

Methods

Get(Door)

Gets the AirlockController by one of it's subdoors.

public static AirlockController Get(Door door)

Parameters

door Door

Subdoor.

Returns

AirlockController

Instance of AirlockController.

Get(AirlockController)

Gets the AirlockController by its base-game controller.

public static AirlockController Get(AirlockController controller)

Parameters

controller AirlockController

Base-game controller.

Returns

AirlockController

Instance of AirlockController.

ToString()

Returns the Door in a human-readable format.

public override string ToString()

Returns

string

A string containing Door-related data.

Toggle()

Toggles airlock.

public void Toggle()