Class InteractingLockerEventArgs
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
Properties
InteractingChamber
Gets the interacting chamber.
public Chamber InteractingChamber { get; }
Property Value
InteractingLocker
Gets the locker which is containing InteractingChamber.
public Locker InteractingLocker { get; }
Property Value
IsAllowed
Gets or sets a value indicating whether the player can interact with the locker.
public bool IsAllowed { get; set; }
Property Value
Player
Gets the player who's interacting with the locker.
public Player Player { get; }