PHP Class pocketmine\inventory\SimpleTransactionQueue

Inheritance: implements pocketmine\inventory\TransactionQueue
Afficher le fichier Open project: iTXTech/Genisys

Protected Properties

Свойство Type Description
$inventories pocketmine\inventory\Inventory[]
$lastUpdate float
$player pocketmine\Player[]
$transactionCount integer
$transactionQueue SplQueue
$transactionsToRetry SplQueue

Méthodes publiques

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

Method Details

__construct() public méthode

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

addTransaction() public méthode

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

execute() public méthode

public execute ( )

getInventories() public méthode

public getInventories ( )

getPlayer() public méthode

public getPlayer ( ) : Player
Résultat pocketmine\Player

getTransactionCount() public méthode

public getTransactionCount ( )

getTransactions() public méthode

public getTransactions ( )

Property Details

$inventories protected_oe property

protected Inventory[],pocketmine\inventory $inventories
Résultat pocketmine\inventory\Inventory[]

$lastUpdate protected_oe property

protected float $lastUpdate
Résultat float

$player protected_oe property

protected Player[],pocketmine $player
Résultat pocketmine\Player[]

$transactionCount protected_oe property

protected int $transactionCount
Résultat integer

$transactionQueue protected_oe property

protected SplQueue $transactionQueue
Résultat SplQueue

$transactionsToRetry protected_oe property

protected SplQueue $transactionsToRetry
Résultat SplQueue