ItemEvent.AttackEvent, ItemEvent.FinishUsingItem, ItemEvent.InitEvent, ItemEvent.InteractEvent, ItemEvent.PickedUpEvent, ItemEvent.SpawnEvent, ItemEvent.StartUsingItem, ItemEvent.StopUsingItem, ItemEvent.TossedEvent, ItemEvent.UpdateEvent, ItemEvent.UsingItemCustomNPCsEvent.CNPCNaturalSpawnEvent| Modifier and Type | Field and Description |
|---|---|
int |
duration |
IPlayer |
player |
API| Constructor and Description |
|---|
UsingItem(IItemCustom item,
IPlayer player,
int duration) |
isCancelled, setCancelledpublic final IPlayer player
public final int duration
public UsingItem(IItemCustom item, IPlayer player, int duration)