Table of Contents

Class TurningOffLightsEventArgs

Namespace
Exiled.Events.EventArgs.Map
Assembly
Exiled.Events.dll

Contains all information before turning off lights.

public class TurningOffLightsEventArgs : IDeniableEvent, IExiledEvent
Inheritance
TurningOffLightsEventArgs
Implements
Inherited Members
Extension Methods

Constructors

TurningOffLightsEventArgs(RoomLightController, float, bool)

Initializes a new instance of the TurningOffLightsEventArgs class.

public TurningOffLightsEventArgs(RoomLightController flickerableLightControllerHandler, float duration, bool isAllowed = true)

Parameters

flickerableLightControllerHandler RoomLightController
duration float
isAllowed bool

Properties

Duration

Gets or sets the blackout duration.

public float Duration { get; set; }

Property Value

float

IsAllowed

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

public bool IsAllowed { get; set; }

Property Value

bool

RoomLightController

public RoomLightController RoomLightController { get; }

Property Value

RoomLightController