Class TriggeringDoorEventArgs
Contains all information before SCP-079 interacts with a door.
public class TriggeringDoorEventArgs : IScp079Event, IPlayerEvent, IDoorEvent, IDeniableEvent, IExiledEvent
- Inheritance
-
TriggeringDoorEventArgs
- Implements
- Inherited Members
- Extension Methods
Constructors
TriggeringDoorEventArgs(Player, DoorVariant, float)
Initializes a new instance of the TriggeringDoorEventArgs class.
public TriggeringDoorEventArgs(Player player, DoorVariant door, float auxiliaryPowerCost)
Parameters
Properties
AuxiliaryPowerCost
Gets or sets the amount of auxiliary power required to trigger a door through SCP-079.
public float AuxiliaryPowerCost { get; set; }
Property Value
Door
Gets or sets the Door instance.
public Door Door { get; set; }
Property Value
IsAllowed
Gets or sets a value indicating whether the player can interact with the door.
public bool IsAllowed { get; set; }
Property Value
Player
Gets the player who's interacting with the door.
public Player Player { get; }
Property Value
Scp079
Gets the Scp079Role triggering the event.
public Scp079Role Scp079 { get; }