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