Class ZoneBlackoutEventArgs
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
ReferenceHubzone
FacilityZoneauxiliaryPowerCost
floatblackoutduration
floatcooldown
floatscp079HudTranslation
Scp079HudTranslation
Properties
AuxiliaryPowerCost
Gets or sets the amount of auxiliary power required to lockdown a room.
public float AuxiliaryPowerCost { get; set; }
Property Value
BlackoutDuration
Gets or sets the time of the blackout.
public float BlackoutDuration { get; set; }
Property Value
Cooldown
Gets or sets the blackout cooldown duration.
public float Cooldown { get; set; }
Property Value
IsAllowed
Gets or sets a value indicating whether SCP-079 can lockdown a room.
public bool IsAllowed { get; set; }
Property Value
Player
Gets the player who's controlling SCP-079.
public Player Player { get; }
Property Value
Scp079
Gets the Scp079Role triggering the event.
public Scp079Role Scp079 { get; }
Property Value
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; }