Class TriggeringTeslaEventArgs
Contains all information before triggering a tesla.
public class TriggeringTeslaEventArgs : IPlayerEvent, ITeslaEvent, IDeniableEvent, IExiledEvent
- Inheritance
-
TriggeringTeslaEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
TriggeringTeslaEventArgs(Player, TeslaGate)
Initializes a new instance of the TriggeringTeslaEventArgs class.
public TriggeringTeslaEventArgs(Player player, TeslaGate teslaGate)
Parameters
Properties
DisableTesla
Gets or sets a value indicating whether the tesla will be deactivated.
public bool DisableTesla { get; set; }
Property Value
IsAllowed
Gets or sets a value indicating whether the player will be detected by the tesla.
public bool IsAllowed { get; set; }
Property Value
IsInHurtingRange
Gets or sets a value indicating whether the player is in hurting range.
public bool IsInHurtingRange { get; set; }
Property Value
IsInIdleRange
Gets or sets a value indicating whether the player will cause the tesla going to be idle.
public bool IsInIdleRange { get; set; }
Property Value
IsTriggerable
Gets or sets a value indicating whether the player will cause the tesla going to be activated.
public bool IsTriggerable { get; set; }
Property Value
Player
Gets the player who triggered the tesla.
public Player Player { get; }
Property Value
Tesla
Gets the Tesla.
public TeslaGate Tesla { get; }