Table of Contents

Class InteractingLockerEventArgs

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

Contains all information before a player interacts with a locker.

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

Constructors

InteractingLockerEventArgs(Player, Locker, byte, bool)

Initializes a new instance of the InteractingLockerEventArgs class.

public InteractingLockerEventArgs(Player player, Locker locker, byte colliderId, bool isAllowed)

Parameters

player Player
locker Locker
colliderId byte
isAllowed bool

Properties

InteractingChamber

Gets the interacting chamber.

public Chamber InteractingChamber { get; }

Property Value

Chamber

InteractingLocker

Gets the locker which is containing InteractingChamber.

public Locker InteractingLocker { get; }

Property Value

Locker

IsAllowed

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

public bool IsAllowed { get; set; }

Property Value

bool

Player

Gets the player who's interacting with the locker.

public Player Player { get; }

Property Value

Player