PHP Class pocketmine\inventory\SimpleTransactionQueue

Inheritance: implements pocketmine\inventory\TransactionQueue
Exibir arquivo Open project: iTXTech/Genisys

Protected Properties

Property Type Description
$inventories pocketmine\inventory\Inventory[]
$lastUpdate float
$player pocketmine\Player[]
$transactionCount integer
$transactionQueue SplQueue
$transactionsToRetry SplQueue

Public Methods

Method Description
__construct ( Player $player = null )
addTransaction ( pocketmine\inventory\Transaction $transaction )
execute ( )
getInventories ( )
getPlayer ( ) : Player
getTransactionCount ( )
getTransactions ( )

Method Details

__construct() public method

public __construct ( Player $player = null )
$player pocketmine\Player

addTransaction() public method

public addTransaction ( pocketmine\inventory\Transaction $transaction )
$transaction pocketmine\inventory\Transaction

execute() public method

public execute ( )

getInventories() public method

public getInventories ( )

getPlayer() public method

public getPlayer ( ) : Player
return pocketmine\Player

getTransactionCount() public method

public getTransactionCount ( )

getTransactions() public method

public getTransactions ( )

Property Details

$inventories protected_oe property

protected Inventory[],pocketmine\inventory $inventories
return pocketmine\inventory\Inventory[]

$lastUpdate protected_oe property

protected float $lastUpdate
return float

$player protected_oe property

protected Player[],pocketmine $player
return pocketmine\Player[]

$transactionCount protected_oe property

protected int $transactionCount
return integer

$transactionQueue protected_oe property

protected SplQueue $transactionQueue
return SplQueue

$transactionsToRetry protected_oe property

protected SplQueue $transactionsToRetry
return SplQueue