PHP Interface pocketmine\inventory\Transaction

Mostra file Open project: iTXTech/Genisys Interface Usage Examples

Public Methods

Method Description
execute ( Player $source ) : boolean
getCreationTime ( ) : float
getInventory ( ) : pocketmine\inventory\Inventory
getSlot ( ) : integer
getTargetItem ( ) : Item

Method Details

execute() public method

public execute ( Player $source ) : boolean
$source pocketmine\Player
return boolean

getCreationTime() public method

public getCreationTime ( ) : float
return float

getInventory() public method

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

getSlot() public method

public getSlot ( ) : integer
return integer

getTargetItem() public method

public getTargetItem ( ) : Item
return pocketmine\item\Item