Class TriggeringTeslaEventArgs
Contains all information before triggering a tesla.
Inheritance
System.Object
TriggeringTeslaEventArgs
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 SourceTriggeringTeslaEventArgs(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 SourceDisableTesla
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 |
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 |
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 |
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 |
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 |
Player
Gets the player who triggered the tesla.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |
Tesla
Gets the Tesla.
Declaration
public TeslaGate Tesla { get; }
Property Value
Type | Description |
---|---|
TeslaGate |