Table of Contents

Class RoomBlackoutEventArgs

Namespace
Exiled.Events.EventArgs.Scp079
Assembly
Exiled.Events.dll

Contains all information before SCP-079 turns off the lights in a room.

public class RoomBlackoutEventArgs : IScp079Event, IPlayerEvent, IRoomEvent, IDeniableEvent, IExiledEvent
Inheritance
RoomBlackoutEventArgs
Implements
Inherited Members
Extension Methods

Constructors

RoomBlackoutEventArgs(ReferenceHub, RoomIdentifier, float, float, float, bool)

Initializes a new instance of the RoomBlackoutEventArgs class.

public RoomBlackoutEventArgs(ReferenceHub player, RoomIdentifier roomIdentifier, float auxiliaryPowerCost, float blackoutduration, float cooldown, bool isAllowed)

Parameters

player ReferenceHub
roomIdentifier RoomIdentifier
auxiliaryPowerCost float
blackoutduration float
cooldown float
isAllowed bool

Properties

AuxiliaryPowerCost

Gets or sets the amount of auxiliary power required to black out the room.

public float AuxiliaryPowerCost { get; set; }

Property Value

float

BlackoutDuration

Gets or sets the duration of the blackout.

public float BlackoutDuration { get; set; }

Property Value

float

Cooldown

Gets or sets the blackout cooldown duration.

public double Cooldown { get; set; }

Property Value

double

IsAllowed

Gets or sets a value indicating whether SCP-079 can black out the room.

public bool IsAllowed { get; set; }

Property Value

bool

Player

Gets the player who's controlling SCP-079.

public Player Player { get; }

Property Value

Player

Room

Gets the room that will be locked down.

public Room Room { get; }

Property Value

Room

Scp079

Gets the Scp079Role triggering the event.

public Scp079Role Scp079 { get; }

Property Value

Scp079Role