Search Results for

    Show / Hide Table of Contents

    Class InteractingTeslaEventArgs

    Contains all information before SCP-079 triggers a tesla gate.

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

    Constructors

    | Improve this Doc View Source

    InteractingTeslaEventArgs(Player, TeslaGate, Single)

    Initializes a new instance of the InteractingTeslaEventArgs class.

    Declaration
    public InteractingTeslaEventArgs(Player player, TeslaGate teslaGate, float auxiliaryPowerCost)
    Parameters
    Type Name Description
    Player player
    TeslaGate teslaGate
    System.Single auxiliaryPowerCost

    Properties

    | Improve this Doc View Source

    AuxiliaryPowerCost

    Gets or sets the amount of auxiliary power required to interact with a tesla gate through SCP-079.

    Declaration
    public float AuxiliaryPowerCost { 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 interact with the tesla gate.

    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

    Tesla

    Gets the TeslaGate that SCP-079 is triggering.

    Declaration
    public TeslaGate Tesla { get; }
    Property Value
    Type Description
    TeslaGate

    Implements

    IScp079Event
    IPlayerEvent
    ITeslaEvent
    IDeniableEvent
    IExiledEvent

    Extension Methods

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