Table of Contents

Class DoorTypeExtensions

Namespace
Exiled.API.Extensions
Assembly
Exiled.API.dll

A set of extensions for DoorType.

public static class DoorTypeExtensions
Inheritance
DoorTypeExtensions
Inherited Members

Methods

IsCheckpoint(DoorType)

Checks if a door type is a checkpoint.

public static bool IsCheckpoint(this DoorType door)

Parameters

door DoorType

The door to be checked.

Returns

bool

Returns whether the DoorType is a checkpoint.

IsElevator(DoorType)

Checks if a door type is an elevator.

public static bool IsElevator(this DoorType door)

Parameters

door DoorType

The door to be checked.

Returns

bool

Returns whether the DoorType is an elevator.

IsGate(DoorType)

Checks if a door type is a gate.

public static bool IsGate(this DoorType door)

Parameters

door DoorType

The door to be checked.

Returns

bool

Returns whether the DoorType is a gate.