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
DoorTypeThe door to be checked.
Returns
IsElevator(DoorType)
Checks if a door type is an elevator.
public static bool IsElevator(this DoorType door)
Parameters
door
DoorTypeThe door to be checked.
Returns
IsGate(DoorType)
Checks if a door type is a gate.
public static bool IsGate(this DoorType door)
Parameters
door
DoorTypeThe door to be checked.