Class TriggeringDoorEventArgs
Contains all information before SCP-079 interacts with a door.
Inheritance
System.Object
TriggeringDoorEventArgs
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 TriggeringDoorEventArgs : IScp079Event, IPlayerEvent, IDoorEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceTriggeringDoorEventArgs(Player, DoorVariant, Single)
Initializes a new instance of the TriggeringDoorEventArgs class.
Declaration
public TriggeringDoorEventArgs(Player player, DoorVariant door, float auxiliaryPowerCost)
Parameters
| Type | Name | Description |
|---|---|---|
| Player | player | |
| Interactables.Interobjects.DoorUtils.DoorVariant | door | |
| System.Single | auxiliaryPowerCost |
Properties
| Improve this Doc View SourceAuxiliaryPowerCost
Gets or sets the amount of auxiliary power required to trigger a door through SCP-079.
Declaration
public float AuxiliaryPowerCost { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Single |
Door
Gets or sets the Door instance.
Declaration
public Door Door { get; set; }
Property Value
| Type | Description |
|---|---|
| Door |
IsAllowed
Gets or sets a value indicating whether or not the player can interact with the door.
Declaration
public bool IsAllowed { get; set; }
Property Value
| Type | Description |
|---|---|
| System.Boolean |
Player
Gets the player who's interacting with the door.
Declaration
public Player Player { get; }
Property Value
| Type | Description |
|---|---|
| Player |
Scp079
Declaration
public Scp079Role Scp079 { get; }
Property Value
| Type | Description |
|---|---|
| Scp079Role |