Class PlayerItemUseEvent
Dispatched when an OpenPlayer uses an Item
Namespace: OpenAPI.Events.Player
Assembly: OpenAPI.dll
Syntax
public class PlayerItemUseEvent : PlayerEvent
Constructors
| Improve this Doc View SourcePlayerItemUseEvent(OpenPlayer, Item)
Declaration
public PlayerItemUseEvent(OpenPlayer player, Item itemUsed)
Parameters
| Type | Name | Description |
|---|---|---|
| OpenPlayer | player | |
| Item | itemUsed |
Properties
| Improve this Doc View SourceItemUsed
The item used
Declaration
public Item ItemUsed { get; }
Property Value
| Type | Description |
|---|---|
| Item |