public class InventoryEvent extends Event
Event.Result| Modifier and Type | Field and Description |
|---|---|
protected InventoryView |
transaction |
| Constructor and Description |
|---|
InventoryEvent(InventoryView transaction) |
| Modifier and Type | Method and Description |
|---|---|
static HandlerList |
getHandlerList() |
HandlerList |
getHandlers() |
Inventory |
getInventory()
Gets the primary Inventory involved in this transaction
|
InventoryView |
getView()
Gets the view object itself
|
List<HumanEntity> |
getViewers()
Gets the list of players viewing the primary (upper) inventory involved
in this event
|
getEventName, isAsynchronousprotected InventoryView transaction
public InventoryEvent(InventoryView transaction)
public Inventory getInventory()
public List<HumanEntity> getViewers()
public InventoryView getView()
public HandlerList getHandlers()
getHandlers in class Eventpublic static HandlerList getHandlerList()
Copyright © 2016. All rights reserved.