Table of Contents

Class TriggeringDoorEventArgs

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

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

player Player
door DoorVariant
auxiliaryPowerCost float

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

float

Door

Gets or sets the Door instance.

public Door Door { get; set; }

Property Value

Door

IsAllowed

Gets or sets a value indicating whether the player can interact with the door.

public bool IsAllowed { get; set; }

Property Value

bool

Player

Gets the player who's interacting with the door.

public Player Player { get; }

Property Value

Player

Scp079

Gets the Scp079Role triggering the event.

public Scp079Role Scp079 { get; }

Property Value

Scp079Role