Search Results for

    Show / Hide Table of Contents

    Class DoorTypeExtensions

    A set of extensions for DoorType.

    Inheritance
    System.Object
    DoorTypeExtensions
    Inherited Members
    System.Object.ToString()
    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.Extensions
    Assembly: Exiled.API.dll
    Syntax
    public static class DoorTypeExtensions

    Methods

    | Improve this Doc View Source

    IsCheckpoint(DoorType)

    Checks if a door type is a checkpoint.

    Declaration
    public static bool IsCheckpoint(this DoorType door)
    Parameters
    Type Name Description
    DoorType door

    The door to be checked.

    Returns
    Type Description
    System.Boolean

    Returns whether the DoorType is a checkpoint or not.

    | Improve this Doc View Source

    IsElevator(DoorType)

    Checks if a door type is an elevator.

    Declaration
    public static bool IsElevator(this DoorType door)
    Parameters
    Type Name Description
    DoorType door

    The door to be checked.

    Returns
    Type Description
    System.Boolean

    Returns whether the DoorType is an elevator or not.

    | Improve this Doc View Source

    IsGate(DoorType)

    Checks if a door type is a gate.

    Declaration
    public static bool IsGate(this DoorType door)
    Parameters
    Type Name Description
    DoorType door

    The door to be checked.

    Returns
    Type Description
    System.Boolean

    Returns whether the DoorType is a gate or not.

    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX