Skip to content

Latest commit

 

History

History
141 lines (141 loc) · 7.76 KB

cn.nukkit.inventory.transaction.InventoryTransaction.md

File metadata and controls

141 lines (141 loc) · 7.76 KB
  • 成员变量一览

    成员变量 
    修饰符和类 成员变量描述
    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() 
    • 继承自类 java.lang.Object

      clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait