Table of Contents

Class InteractingTeslaEventArgs

Namespace
Exiled.Events.EventArgs.Scp079
Assembly
Exiled.Events.dll

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

public class InteractingTeslaEventArgs : IScp079Event, IPlayerEvent, ITeslaEvent, IDeniableEvent, IExiledEvent
Inheritance
InteractingTeslaEventArgs
Implements
Inherited Members
Extension Methods

Constructors

InteractingTeslaEventArgs(Player, TeslaGate, float)

Initializes a new instance of the InteractingTeslaEventArgs class.

public InteractingTeslaEventArgs(Player player, TeslaGate teslaGate, float auxiliaryPowerCost)

Parameters

player Player
teslaGate TeslaGate
auxiliaryPowerCost float

Properties

AuxiliaryPowerCost

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

public float AuxiliaryPowerCost { get; set; }

Property Value

float

IsAllowed

Gets or sets a value indicating whether SCP-079 can interact with the tesla gate.

public bool IsAllowed { get; set; }

Property Value

bool

Player

Gets the player who's controlling SCP-079.

public Player Player { get; }

Property Value

Player

Scp079

Gets the Scp079Role triggering the event.

public Scp079Role Scp079 { get; }

Property Value

Scp079Role

Tesla

Gets the TeslaGate that SCP-079 is triggering.

public TeslaGate Tesla { get; }

Property Value

TeslaGate