Table of Contents

Class UsedItemEventArgs

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

Contains all information after a player used an item.

public class UsedItemEventArgs : IUsableEvent, IItemEvent, IPlayerEvent, IExiledEvent
Inheritance
UsedItemEventArgs
Implements
Inherited Members
Extension Methods

Constructors

UsedItemEventArgs(ReferenceHub, UsableItem)

Initializes a new instance of the UsedItemEventArgs class.

public UsedItemEventArgs(ReferenceHub player, UsableItem item)

Parameters

player ReferenceHub
item UsableItem

Properties

Item

Gets the Item triggering the event.

public Item Item { get; }

Property Value

Item

Player

Gets the player who used the item.

public Player Player { get; }

Property Value

Player

Usable

Gets the item that the player used.

public Usable Usable { get; }

Property Value

Usable