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(ReferenceHub, UsableItem)

Initializes a new instance of the CancelledItemUseEventArgs class.

public CancelledItemUseEventArgs(ReferenceHub hub, UsableItem usableItem)

Parameters

hub ReferenceHub
usableItem UsableItem

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