Search Results for

    Show / Hide Table of Contents

    Class ZoneBlackoutEventArgs

    Contains all information before SCP-079 lockdowns a room.

    Inheritance
    System.Object
    ZoneBlackoutEventArgs
    Implements
    IScp079Event
    IPlayerEvent
    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 ZoneBlackoutEventArgs : IScp079Event, IPlayerEvent, IDeniableEvent, IExiledEvent

    Constructors

    | Improve this Doc View Source

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

    AuxiliaryPowerCost

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

    BlackoutDuration

    Gets or sets the time 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 float Cooldown { get; set; }
    Property Value
    Type Description
    System.Single
    | Improve this Doc View Source

    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
    | 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

    Scp079

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

    Scp079HudTranslation

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

    Declaration
    public Scp079HudTranslation Scp079HudTranslation { get; }
    Property Value
    Type Description
    PlayerRoles.PlayableScps.Scp079.Scp079HudTranslation
    | Improve this Doc View Source

    Zone

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

    Declaration
    public ZoneType Zone { get; }
    Property Value
    Type Description
    ZoneType

    Implements

    IScp079Event
    IPlayerEvent
    IDeniableEvent
    IExiledEvent

    Extension Methods

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