Search Results for

    Show / Hide Table of Contents

    Class RoomExtensions

    A set of extensions for RoomType and ZoneType.

    Inheritance
    System.Object
    RoomExtensions
    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 RoomExtensions

    Methods

    | Improve this Doc View Source

    GetZone(ZoneType)

    Converts the provided ZoneType into the corresponding MapGeneration.FacilityZone.

    Declaration
    public static FacilityZone GetZone(this ZoneType facility)
    Parameters
    Type Name Description
    ZoneType facility

    The ZoneType to convert.

    Returns
    Type Description
    MapGeneration.FacilityZone

    FacilityZone.

    | Improve this Doc View Source

    GetZone(FacilityZone)

    Converts the provided MapGeneration.FacilityZone into the corresponding ZoneType.

    Declaration
    public static ZoneType GetZone(this FacilityZone facility)
    Parameters
    Type Name Description
    MapGeneration.FacilityZone facility

    The MapGeneration.FacilityZone to convert.

    Returns
    Type Description
    ZoneType

    ZoneType.

    | Improve this Doc View Source

    IsCheckpoint(RoomType)

    Checks if a room type is a checkpoint.

    Declaration
    public static bool IsCheckpoint(this RoomType room)
    Parameters
    Type Name Description
    RoomType room

    The room to be checked.

    Returns
    Type Description
    System.Boolean

    Returns whether the RoomType is a checkpoint or not.

    | Improve this Doc View Source

    IsGate(RoomType)

    Checks if a room type is a gate.

    Declaration
    public static bool IsGate(this RoomType room)
    Parameters
    Type Name Description
    RoomType room

    The room to be checked.

    Returns
    Type Description
    System.Boolean

    Returns whether the RoomType is a gate or not.

    | Improve this Doc View Source

    IsHczCheckpoint(RoomType)

    Checks if a room type is a Hcz checkpoint.

    Declaration
    public static bool IsHczCheckpoint(this RoomType room)
    Parameters
    Type Name Description
    RoomType room

    The room to be checked.

    Returns
    Type Description
    System.Boolean

    Returns whether the RoomType is a Hcz checkpoint or not.

    | Improve this Doc View Source

    IsLczCheckpoint(RoomType)

    Checks if a room type is a Lcz checkpoint.

    Declaration
    public static bool IsLczCheckpoint(this RoomType room)
    Parameters
    Type Name Description
    RoomType room

    The room to be checked.

    Returns
    Type Description
    System.Boolean

    Returns whether the RoomType is a Lcz checkpoint or not.

    | Improve this Doc View Source

    IsScp(RoomType)

    Checks if a room type contains any SCP.

    Declaration
    public static bool IsScp(this RoomType room)
    Parameters
    Type Name Description
    RoomType room

    The room to be checked.

    Returns
    Type Description
    System.Boolean

    Returns whether the RoomType contains any SCP or not.

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