Table of Contents

Class ZoneBlackoutEventArgs

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

Contains all information before SCP-079 lockdowns a room.

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

Constructors

ZoneBlackoutEventArgs(ReferenceHub, FacilityZone, float, float, float, Scp079HudTranslation)

Initializes a new instance of the ZoneBlackoutEventArgs class.

public ZoneBlackoutEventArgs(ReferenceHub player, FacilityZone zone, float auxiliaryPowerCost, float blackoutduration, float cooldown, Scp079HudTranslation scp079HudTranslation)

Parameters

player ReferenceHub
zone FacilityZone
auxiliaryPowerCost float
blackoutduration float
cooldown float
scp079HudTranslation Scp079HudTranslation

Properties

AuxiliaryPowerCost

Gets or sets the amount of auxiliary power required to lockdown a room.

public float AuxiliaryPowerCost { get; set; }

Property Value

float

BlackoutDuration

Gets or sets the time of the blackout.

public float BlackoutDuration { get; set; }

Property Value

float

Cooldown

Gets or sets the blackout cooldown duration.

public float Cooldown { get; set; }

Property Value

float

IsAllowed

Gets or sets a value indicating whether SCP-079 can lockdown a 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

Scp079

Gets the Scp079Role triggering the event.

public Scp079Role Scp079 { get; }

Property Value

Scp079Role

Scp079HudTranslation

Gets the PlayerRoles.PlayableScps.Scp079.Scp079HudTranslation send back to player.

public Scp079HudTranslation Scp079HudTranslation { get; }

Property Value

Scp079HudTranslation

Zone

Gets the MapGeneration.RoomIdentifier of the room that will be locked down.

public ZoneType Zone { get; }

Property Value

ZoneType