Class RoomBlackoutEventArgs
Contains all information before SCP-079 turns off the lights in a room.
Inheritance
System.Object
RoomBlackoutEventArgs
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 RoomBlackoutEventArgs : IScp079Event, IPlayerEvent, IRoomEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceRoomBlackoutEventArgs(ReferenceHub, RoomIdentifier, Single, Single, Single, Boolean)
Initializes a new instance of the RoomBlackoutEventArgs class.
Declaration
public RoomBlackoutEventArgs(ReferenceHub player, RoomIdentifier roomIdentifier, float auxiliaryPowerCost, float blackoutduration, float cooldown, bool isAllowed)
Parameters
Type | Name | Description |
---|---|---|
ReferenceHub | player | |
MapGeneration.RoomIdentifier | roomIdentifier | |
System.Single | auxiliaryPowerCost | |
System.Single | blackoutduration | |
System.Single | cooldown | |
System.Boolean | isAllowed |
Properties
| Improve this Doc View SourceAuxiliaryPowerCost
Gets or sets the amount of auxiliary power required to black out the room.
Declaration
public float AuxiliaryPowerCost { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
BlackoutDuration
Gets or sets the duration 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 double Cooldown { get; set; }
Property Value
Type | Description |
---|---|
System.Double |
IsAllowed
Gets or sets a value indicating whether or not SCP-079 can black out the 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 |
Room
Gets the room that will be locked down.
Declaration
public Room Room { get; }
Property Value
Type | Description |
---|---|
Room |
Scp079
Declaration
public Scp079Role Scp079 { get; }
Property Value
Type | Description |
---|---|
Scp079Role |