Search Results for

    Show / Hide Table of Contents

    Class RoomBlackoutEventArgs

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

    Inheritance
    System.Object
    RoomBlackoutEventArgs
    Implements
    IScp079Event
    IPlayerEvent
    IRoomEvent
    IDeniableEvent
    IExiledEvent
    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 Source

    RoomBlackoutEventArgs(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 Source

    AuxiliaryPowerCost

    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
    | Improve this Doc View Source

    BlackoutDuration

    Gets or sets the duration of the blackout.

    Declaration
    public float BlackoutDuration { get; set; }
    Property Value
    Type Description
    System.Single
    | Improve this Doc View Source

    Cooldown

    Gets or sets the blackout cooldown duration.

    Declaration
    public double Cooldown { get; set; }
    Property Value
    Type Description
    System.Double
    | Improve this Doc View Source

    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
    | Improve this Doc View Source

    Player

    Gets the player who's controlling SCP-079.

    Declaration
    public Player Player { get; }
    Property Value
    Type Description
    Player
    | Improve this Doc View Source

    Room

    Gets the room that will be locked down.

    Declaration
    public Room Room { get; }
    Property Value
    Type Description
    Room
    | Improve this Doc View Source

    Scp079

    Declaration
    public Scp079Role Scp079 { get; }
    Property Value
    Type Description
    Scp079Role

    Implements

    IScp079Event
    IPlayerEvent
    IRoomEvent
    IDeniableEvent
    IExiledEvent

    Extension Methods

    ReflectionExtensions.CopyProperties(Object, Object)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX