|
PocketMine
|
Public Member Functions | |
| __construct (Player $source=null) | |
| getSource () | |
| getCreationTime () | |
| getInventories () | |
| getTransactions () | |
| addTransaction (Transaction $transaction) | |
| canExecute () | |
| execute () | |
| hasExecuted () | |
Protected Member Functions | |
| matchItems (array &$needItems, array &$haveItems) | |
Protected Attributes | |
| $hasExecuted = false | |
| $source = null | |
| $inventories = [] | |
| $transactions = [] | |
This TransactionGroup only allows doing Transaction between one / two inventories
| addTransaction | ( | Transaction | $transaction | ) |
| Transaction | $transaction |
Implements TransactionGroup.
| canExecute | ( | ) |
Implements TransactionGroup.
| execute | ( | ) |
Implements TransactionGroup.
| getCreationTime | ( | ) |
Implements TransactionGroup.
| getInventories | ( | ) |
Implements TransactionGroup.
| getSource | ( | ) |
| getTransactions | ( | ) |
Implements TransactionGroup.
| hasExecuted | ( | ) |
Implements TransactionGroup.
|
protected |
| Item[] | $needItems |
| Item[] | $haveItems |