PHP Interface pocketmine\inventory\TransactionQueue

ファイルを表示 Open project: iTXTech/Genisys

Public Methods

Method Description
addTransaction ( pocketmine\inventory\Transaction $transaction )
execute ( ) Handles transaction queue execution
getInventories ( ) : pocketmine\inventory\Inventory
getTransactionCount ( ) : integer
getTransactions ( ) : SplQueue

Method Details

addTransaction() public method

public addTransaction ( pocketmine\inventory\Transaction $transaction )
$transaction pocketmine\inventory\Transaction Adds a transaction to the queue

execute() public method

Handles transaction queue execution
public execute ( )

getInventories() public method

public getInventories ( ) : pocketmine\inventory\Inventory
return pocketmine\inventory\Inventory

getTransactionCount() public method

public getTransactionCount ( ) : integer
return integer

getTransactions() public method

public getTransactions ( ) : SplQueue
return SplQueue