-
成员变量 修饰符和类 成员变量描述 protected List<InventoryAction>
actions
protected boolean
hasExecuted
protected Set<Inventory>
inventories
protected Player
source
-
构造函数 构造函数描述 InventoryTransaction(Player source, List<InventoryAction> actions)
InventoryTransaction(Player source, List<InventoryAction> actions, boolean init)
-
All Methods Instance Methods Concrete Methods 修饰符和类 成员函数描述 void
addAction(InventoryAction action)
void
addInventory(Inventory inventory)
This method should not be used by plugins, it's used to add tracked inventories for InventoryActions involving inventories.protected boolean
callExecuteEvent()
boolean
canExecute()
boolean
execute()
List<InventoryAction>
getActionList()
Set<InventoryAction>
getActions()
long
getCreationTime()
Set<Inventory>
getInventories()
Player
getSource()
boolean
hasExecuted()
protected void
init(Player source, List<InventoryAction> actions)
protected boolean
matchItems(List<Item> needItems, List<Item> haveItems)
protected void
sendInventories()