Search Results for

    Show / Hide Table of Contents

    Class TriggeringTeslaEventArgs

    Contains all information before triggering a tesla.

    Inheritance
    System.Object
    TriggeringTeslaEventArgs
    Implements
    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.Player
    Assembly: Exiled.Events.dll
    Syntax
    public class TriggeringTeslaEventArgs : IPlayerEvent, ITeslaEvent, IDeniableEvent, IExiledEvent

    Constructors

    | Improve this Doc View Source

    TriggeringTeslaEventArgs(Player, TeslaGate)

    Initializes a new instance of the TriggeringTeslaEventArgs class.

    Declaration
    public TriggeringTeslaEventArgs(Player player, TeslaGate teslaGate)
    Parameters
    Type Name Description
    Player player
    TeslaGate teslaGate

    Properties

    | Improve this Doc View Source

    DisableTesla

    Gets or sets a value indicating whether or not the tesla will be deactivated.

    Declaration
    public bool DisableTesla { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    IsAllowed

    Gets or sets a value indicating whether or not the player will be detected by the tesla.

    Declaration
    public bool IsAllowed { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    IsInHurtingRange

    Gets or sets a value indicating whether or not the player is in hurting range.

    Declaration
    public bool IsInHurtingRange { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    IsInIdleRange

    Gets or sets a value indicating whether or not the player will cause the tesla going to be idle.

    Declaration
    public bool IsInIdleRange { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    IsTriggerable

    Gets or sets a value indicating whether or not the player will cause the tesla going to be activated.

    Declaration
    public bool IsTriggerable { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Player

    Gets the player who triggered the tesla.

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

    Tesla

    Gets the Tesla.

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

    Implements

    IPlayerEvent
    ITeslaEvent
    IDeniableEvent
    IExiledEvent

    Extension Methods

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