Search Results for

    Show / Hide Table of Contents

    Class InteractingLockerEventArgs

    Contains all information before a player interacts with a locker.

    Inheritance
    System.Object
    InteractingLockerEventArgs
    Implements
    IPlayerEvent
    IDeniableEvent
    IExiledEvent
    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 Source

    InteractingLockerEventArgs(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 Source

    Chamber

    Gets the interacting chamber.

    Declaration
    public LockerChamber Chamber { get; }
    Property Value
    Type Description
    MapGeneration.Distributors.LockerChamber
    | Improve this Doc View Source

    ChamberId

    Gets the chamber id.

    Declaration
    public byte ChamberId { get; }
    Property Value
    Type Description
    System.Byte
    | Improve this Doc View Source

    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
    | Improve this Doc View Source

    Locker

    Gets the MapGeneration.Distributors.Locker instance.

    Declaration
    public Locker Locker { get; }
    Property Value
    Type Description
    MapGeneration.Distributors.Locker
    | Improve this Doc View Source

    Player

    Gets the player who's interacting with the locker.

    Declaration
    public Player Player { get; }
    Property Value
    Type Description
    Player

    Implements

    IPlayerEvent
    IDeniableEvent
    IExiledEvent

    Extension Methods

    ReflectionExtensions.CopyProperties(Object, Object)
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX