Search Results for

    Show / Hide Table of Contents

    Class TurningOffLightsEventArgs

    Contains all information before turning off lights.

    Inheritance
    System.Object
    TurningOffLightsEventArgs
    Implements
    IDeniableEvent
    IExiledEvent
    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.Events.EventArgs.Map
    Assembly: Exiled.Events.dll
    Syntax
    public class TurningOffLightsEventArgs : IDeniableEvent, IExiledEvent

    Constructors

    | Improve this Doc View Source

    TurningOffLightsEventArgs(RoomLightController, Single, Boolean)

    Initializes a new instance of the TurningOffLightsEventArgs class.

    Declaration
    public TurningOffLightsEventArgs(RoomLightController flickerableLightControllerHandler, float duration, bool isAllowed = true)
    Parameters
    Type Name Description
    RoomLightController flickerableLightControllerHandler
    System.Single duration
    System.Boolean isAllowed

    Properties

    | Improve this Doc View Source

    Duration

    Gets or sets the blackout duration.

    Declaration
    public float Duration { get; set; }
    Property Value
    Type Description
    System.Single
    | Improve this Doc View Source

    IsAllowed

    Gets or sets a value indicating whether the lights can be turned off.

    Declaration
    public bool IsAllowed { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    RoomLightController

    Gets the RoomLightController.

    Declaration
    public RoomLightController RoomLightController { get; }
    Property Value
    Type Description
    RoomLightController

    Implements

    IDeniableEvent
    IExiledEvent

    Extension Methods

    ReflectionExtensions.CopyProperties(Object, Object)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX