Table of Contents

Class AttackingDoorEventArgs

Namespace
Exiled.Events.EventArgs.Scp1507
Assembly
Exiled.Events.dll

Contains all information before SCP-1507 attacks door.

[Obsolete("Only availaible for Christmas and AprilFools.")]
public class AttackingDoorEventArgs : IScp1507Event, IPlayerEvent, IDeniableEvent, IDoorEvent, IExiledEvent
Inheritance
AttackingDoorEventArgs
Implements
Inherited Members
Extension Methods

Constructors

AttackingDoorEventArgs(Player, DoorVariant, bool)

Initializes a new instance of the AttackingDoorEventArgs class.

public AttackingDoorEventArgs(Player player, DoorVariant doorVariant, bool isAllowed = true)

Parameters

player Player
doorVariant DoorVariant
isAllowed bool

Properties

Door

Gets the Door triggering the event.

public Door Door { get; }

Property Value

Door

IsAllowed

Gets or sets a value indicating whether the event is allowed to continue.

public bool IsAllowed { get; set; }

Property Value

bool

Player

Gets the Player triggering the event.

public Player Player { get; }

Property Value

Player

Scp1507

Gets the Scp1507Role triggering the event.

public Scp1507Role Scp1507 { get; }

Property Value

Scp1507Role