Class TurningOffLightsEventArgs
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
Properties
Duration
Gets or sets the blackout duration.
public float Duration { get; set; }
Property Value
IsAllowed
Gets or sets a value indicating whether the lights can be turned off.
public bool IsAllowed { get; set; }
Property Value
RoomLightController
Gets the RoomLightController.
public RoomLightController RoomLightController { get; }
Property Value
- RoomLightController