Class InteractingTeslaEventArgs
Contains all information before SCP-079 triggers a tesla gate.
Inheritance
System.Object
InteractingTeslaEventArgs
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.Scp079
Assembly: Exiled.Events.dll
Syntax
public class InteractingTeslaEventArgs : IScp079Event, IPlayerEvent, ITeslaEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceInteractingTeslaEventArgs(Player, TeslaGate, Single)
Initializes a new instance of the InteractingTeslaEventArgs class.
Declaration
public InteractingTeslaEventArgs(Player player, TeslaGate teslaGate, float auxiliaryPowerCost)
Parameters
Type | Name | Description |
---|---|---|
Player | player | |
TeslaGate | teslaGate | |
System.Single | auxiliaryPowerCost |
Properties
| Improve this Doc View SourceAuxiliaryPowerCost
Gets or sets the amount of auxiliary power required to interact with a tesla gate through SCP-079.
Declaration
public float AuxiliaryPowerCost { get; set; }
Property Value
Type | Description |
---|---|
System.Single |
IsAllowed
Gets or sets a value indicating whether or not SCP-079 can interact with the tesla gate.
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Player
Gets the player who's controlling SCP-079.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |
Scp079
Declaration
public Scp079Role Scp079 { get; }
Property Value
Type | Description |
---|---|
Scp079Role |
Tesla
Gets the TeslaGate that SCP-079 is triggering.
Declaration
public TeslaGate Tesla { get; }
Property Value
Type | Description |
---|---|
TeslaGate |