Table of Contents

Class ItemRemovedEventArgs

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

Contains all information after removing an item from a player's inventory.

public class ItemRemovedEventArgs : IItemEvent, IPlayerEvent, IPickupEvent, IExiledEvent
Inheritance
ItemRemovedEventArgs
Implements
Inherited Members
Extension Methods

Constructors

ItemRemovedEventArgs(ReferenceHub, ItemBase, ItemPickupBase)

Initializes a new instance of the ItemRemovedEventArgs class.

public ItemRemovedEventArgs(ReferenceHub referenceHub, ItemBase itemBase, ItemPickupBase pickupBase)

Parameters

referenceHub ReferenceHub

The ReferenceHub the item was removed to.

itemBase ItemBase

The removed InventorySystem.Items.ItemBase.

pickupBase ItemPickupBase

The InventorySystem.Items.Pickups.ItemPickupBase the InventorySystem.Items.ItemBase originated from, or null if the item was not picked up.

Properties

Item

Gets the item that was removed.

public Item Item { get; }

Property Value

Item

Pickup

Gets the pickup that the item originated from or null if the item was not picked up.

public Pickup Pickup { get; }

Property Value

Pickup

Player

Gets the player that had the item removed.

public Player Player { get; }

Property Value

Player