Table of Contents

Class InteractingDoorEventArgs

Namespace
Exiled.Events.EventArgs.Player
Assembly
Exiled.Events.dll

Contains all information before a player interacts with a door.

public class InteractingDoorEventArgs : IPlayerEvent, IDoorEvent, IDeniableEvent, IExiledEvent
Inheritance
InteractingDoorEventArgs
Implements
Inherited Members
Extension Methods

Constructors

InteractingDoorEventArgs(Player, DoorVariant, byte, bool, bool)

Initializes a new instance of the InteractingDoorEventArgs class.

public InteractingDoorEventArgs(Player player, DoorVariant door, byte colliderId, bool isAllowed = true, bool canInteract = true)

Parameters

player Player
door DoorVariant
colliderId byte
isAllowed bool
canInteract bool

Properties

CanInteract

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

public bool CanInteract { get; set; }

Property Value

bool

Collider

Gets the Interactables.InteractableCollider instance that the player interacted with.

public InteractableCollider Collider { get; }

Property Value

InteractableCollider

ColliderId

Gets the ColliderId of Interactables.InteractableCollider that the player interacted with.

public byte ColliderId { get; }

Property Value

byte

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 access 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