Class CancelledItemUseEventArgs
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
Properties
Item
Gets the Item triggering the event.
public Item Item { get; }
Property Value
Player
Gets the player who cancelling the item.
public Player Player { get; }
Property Value
Usable
Gets the item that the player cancelling.
public Usable Usable { get; }