Class InteractingLockerEventArgs
Contains all information before a player interacts with a locker.
Inheritance
System.Object
InteractingLockerEventArgs
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.Player
Assembly: Exiled.Events.dll
Syntax
public class InteractingLockerEventArgs : IPlayerEvent, IDeniableEvent, IExiledEvent
Constructors
| Improve this Doc View SourceInteractingLockerEventArgs(Player, Locker, LockerChamber, Byte, Boolean)
Initializes a new instance of the InteractingLockerEventArgs class.
Declaration
public InteractingLockerEventArgs(Player player, Locker locker, LockerChamber lockerChamber, byte chamberId, bool isAllowed)
Parameters
Type | Name | Description |
---|---|---|
Player | player | |
MapGeneration.Distributors.Locker | locker | |
MapGeneration.Distributors.LockerChamber | lockerChamber | |
System.Byte | chamberId | |
System.Boolean | isAllowed |
Properties
| Improve this Doc View SourceChamber
Gets the interacting chamber.
Declaration
public LockerChamber Chamber { get; }
Property Value
Type | Description |
---|---|
MapGeneration.Distributors.LockerChamber |
ChamberId
Gets the chamber id.
Declaration
public byte ChamberId { get; }
Property Value
Type | Description |
---|---|
System.Byte |
IsAllowed
Gets or sets a value indicating whether or not the player can interact with the locker.
Declaration
public bool IsAllowed { get; set; }
Property Value
Type | Description |
---|---|
System.Boolean |
Locker
Gets the MapGeneration.Distributors.Locker instance.
Declaration
public Locker Locker { get; }
Property Value
Type | Description |
---|---|
MapGeneration.Distributors.Locker |
Player
Gets the player who's interacting with the locker.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |