Class ZoneBlackoutEventArgs
Contains all information before SCP-079 lockdowns a room.
Inheritance
System.Object
ZoneBlackoutEventArgs
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.Scp079
Assembly: Exiled.Events.dll
Syntax
public class ZoneBlackoutEventArgs : IScp079Event, IPlayerEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceZoneBlackoutEventArgs(ReferenceHub, FacilityZone, Single, Single, Single, Scp079HudTranslation)
Initializes a new instance of the ZoneBlackoutEventArgs class.
Declaration
public ZoneBlackoutEventArgs(ReferenceHub player, FacilityZone zone, float auxiliaryPowerCost, float blackoutduration, float cooldown, Scp079HudTranslation scp079HudTranslation)
Parameters
Type | Name | Description |
---|---|---|
ReferenceHub | player | |
MapGeneration.FacilityZone | zone | |
System.Single | auxiliaryPowerCost | |
System.Single | blackoutduration | |
System.Single | cooldown | |
PlayerRoles.PlayableScps.Scp079.Scp079HudTranslation | scp079HudTranslation |
Properties
| Improve this Doc View SourceAuxiliaryPowerCost
Gets or sets the amount of auxiliary power required to lockdown a room.
Declaration
public float AuxiliaryPowerCost { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
BlackoutDuration
Gets or sets the time of the blackout.
Declaration
public float BlackoutDuration { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
Cooldown
Gets or sets the blackout cooldown duration.
Declaration
public float Cooldown { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
IsAllowed
Gets or sets a value indicating whether or not SCP-079 can lockdown a room.
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Player
Gets the player who's controlling SCP-079.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |
Scp079
Declaration
public Scp079Role Scp079 { get; }
Property Value
Type | Description |
---|---|
Scp079Role |
Scp079HudTranslation
Gets the PlayerRoles.PlayableScps.Scp079.Scp079HudTranslation send back to player.
Declaration
public Scp079HudTranslation Scp079HudTranslation { get; }
Property Value
Type | Description |
---|---|
PlayerRoles.PlayableScps.Scp079.Scp079HudTranslation |
Zone
Gets the MapGeneration.RoomIdentifier of the room that will be locked down.
Declaration
public ZoneType Zone { get; }
Property Value
Type | Description |
---|---|
ZoneType |