Class CancelledItemUseEventArgs
Contains all information before a player cancels usage of an item.
Inheritance
System.Object
CancelledItemUseEventArgs
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: Exiled.Events.EventArgs.Player
Assembly: Exiled.Events.dll
Syntax
public class CancelledItemUseEventArgs : IPlayerEvent, IUsableEvent, IItemEvent, IExiledEvent
Constructors
| Improve this Doc View SourceCancelledItemUseEventArgs(Player, Item)
Initializes a new instance of the CancelledItemUseEventArgs class.
Declaration
public CancelledItemUseEventArgs(Player player, Item item)
Parameters
Type | Name | Description |
---|---|---|
Player | player | The player who's stopping the use of an item. |
Item | item |
Properties
| Improve this Doc View SourceItem
Declaration
public Item Item { get; }
Property Value
Type | Description |
---|---|
Item |
Player
Gets the player who cancelling the item.
Declaration
public Player Player { get; }
Property Value
Type | Description |
---|---|
Player |
Usable
Gets the item that the player cancelling.
Declaration
public Usable Usable { get; }
Property Value
Type | Description |
---|---|
Usable |