Class AirlockController
Represents airlock.
Inheritance
System.Object
AirlockController
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Exiled.API.Features.Doors
Assembly: Exiled.API.dll
Syntax
public class AirlockController
Constructors
| Improve this Doc View SourceAirlockController(AirlockController)
Initializes a new instance of the AirlockController class.
Declaration
public AirlockController(AirlockController controller)
Parameters
Type | Name | Description |
---|---|---|
Interactables.Interobjects.AirlockController | controller | Base-game controller. |
Properties
| Improve this Doc View SourceAirlockDisabled
Gets or sets a value indicating whether or airlock is disabled.
Declaration
public bool AirlockDisabled { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Base
Gets the basegame controller.
Declaration
public AirlockController Base { get; }
Property Value
Type | Description |
---|---|
Interactables.Interobjects.AirlockController |
DoorA
Gets the first subdoor.
Declaration
public Door DoorA { get; }
Property Value
Type | Description |
---|---|
Door |
DoorB
Gets the second subdoor.
Declaration
public Door DoorB { get; }
Property Value
Type | Description |
---|---|
Door |
DoorsLocked
Gets or sets a value indicating whether or not both subdoors are locked.
Declaration
public bool DoorsLocked { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
List
Gets the list with all airlocks.
Declaration
public static IReadOnlyCollection<AirlockController> List { get; }
Property Value
Type | Description |
---|---|
System.Collections.Generic.IReadOnlyCollection<AirlockController> |
Methods
| Improve this Doc View SourceGet(Door)
Gets the AirlockController by one of it's subdoors.
Declaration
public static AirlockController Get(Door door)
Parameters
Type | Name | Description |
---|---|---|
Door | door | Subdoor. |
Returns
Type | Description |
---|---|
AirlockController | Instance of AirlockController. |
Get(AirlockController)
Gets the AirlockController by its base-game controller.
Declaration
public static AirlockController Get(AirlockController controller)
Parameters
Type | Name | Description |
---|---|---|
Interactables.Interobjects.AirlockController | controller | Base-game controller. |
Returns
Type | Description |
---|---|
AirlockController | Instance of AirlockController. |
Toggle()
Toggles airlock.
Declaration
public void Toggle()
ToString()
Returns the Door in a human-readable format.
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | A string containing Door-related data. |
Overrides
System.Object.ToString()