Table of Contents

Class CancelledItemUseEventArgs

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

Contains all information before a player cancels usage of an item.

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

Constructors

CancelledItemUseEventArgs(Player, Item)

Initializes a new instance of the CancelledItemUseEventArgs class.

public CancelledItemUseEventArgs(Player player, Item item)

Parameters

player Player

The player who's stopping the use of an item.

item Item

Properties

Item

Gets the Item triggering the event.

public Item Item { get; }

Property Value

Item

Player

Gets the player who cancelling the item.

public Player Player { get; }

Property Value

Player

Usable

Gets the item that the player cancelling.

public Usable Usable { get; }

Property Value

Usable