Class InteractingTeslaEventArgs
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
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
IsAllowed
Gets or sets a value indicating whether SCP-079 can interact with the tesla gate.
public bool IsAllowed { get; set; }
Property Value
Player
Gets the player who's controlling SCP-079.
public Player Player { get; }
Property Value
Scp079
Gets the Scp079Role triggering the event.
public Scp079Role Scp079 { get; }
Property Value
Tesla
Gets the TeslaGate that SCP-079 is triggering.
public TeslaGate Tesla { get; }