Search Results for

    Show / Hide Table of Contents

    Class PickingUpItemEventArgs

    Contains all information before a player picks up an item.

    Inheritance
    System.Object
    PickingUpItemEventArgs
    Implements
    IPlayerEvent
    IPickupEvent
    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 PickingUpItemEventArgs : IPlayerEvent, IPickupEvent, IDeniableEvent, IExiledEvent

    Constructors

    | Improve this Doc View Source

    PickingUpItemEventArgs(Player, ItemPickupBase, Boolean)

    Initializes a new instance of the PickingUpItemEventArgs class.

    Declaration
    public PickingUpItemEventArgs(Player player, ItemPickupBase pickup, bool isAllowed = true)
    Parameters
    Type Name Description
    Player player
    InventorySystem.Items.Pickups.ItemPickupBase pickup
    System.Boolean isAllowed

    Properties

    | Improve this Doc View Source

    IsAllowed

    Gets or sets a value indicating whether the item can be picked up.

    Declaration
    public bool IsAllowed { get; set; }
    Property Value
    Type Description
    System.Boolean
    | Improve this Doc View Source

    Pickup

    Gets the pickup that's being picked up.

    Declaration
    public Pickup Pickup { get; }
    Property Value
    Type Description
    Pickup
    | Improve this Doc View Source

    Player

    Gets the player who's picking up an item.

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

    Implements

    IPlayerEvent
    IPickupEvent
    IDeniableEvent
    IExiledEvent

    Extension Methods

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