Genisys  Genisys API 1.9.3
A server software for Minecraft: Pocket Edition with many features
SimpleTransactionQueue Class Reference
Inheritance diagram for SimpleTransactionQueue:
[legend]
Collaboration diagram for SimpleTransactionQueue:
[legend]

Public Member Functions

 __construct (Player $player=null)
 
 getPlayer ()
 
 getInventories ()
 
 getTransactions ()
 
 getTransactionCount ()
 
 addTransaction (Transaction $transaction)
 
- Public Member Functions inherited from TransactionQueue
 execute ()
 

Protected Attributes

 $player = null
 
 $transactionQueue
 
 $transactionsToRetry
 
 $inventories
 
 $lastUpdate = -1
 
 $transactionCount = 0
 

Additional Inherited Members

- Data Fields inherited from TransactionQueue
const DEFAULT_ALLOWED_RETRIES = 5
 

Constructor & Destructor Documentation

__construct ( Player  $player = null)
Parameters
Player$player

Member Function Documentation

addTransaction ( Transaction  $transaction)
Parameters
Transaction$transactionAdds a transaction to the queue

For dropping items, the target inventory is open air, a.k.a. null.

Implements TransactionQueue.

getInventories ( )
Returns
Inventory

Implements TransactionQueue.

getPlayer ( )
Returns
Player
getTransactionCount ( )
Returns
int

Implements TransactionQueue.

getTransactions ( )
Returns

Implements TransactionQueue.


The documentation for this class was generated from the following file: