PHP Class pocketmine\inventory\DropItemTransaction

Inheritance: extends BaseTransaction
Datei anzeigen Open project: iTXTech/Genisys

Protected Properties

Property Type Description
$inventory
$slot
$sourceItem

Public Methods

Method Description
__construct ( Item $droppedItem )
execute ( Player $source ) : boolean
getChange ( )
getInventory ( )
getSlot ( )
sendSlotUpdate ( Player $source )
setSourceItem ( Item $item )

Method Details

__construct() public method

public __construct ( Item $droppedItem )
$droppedItem pocketmine\item\Item

execute() public method

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

getChange() public method

public getChange ( )

getInventory() public method

public getInventory ( )

getSlot() public method

public getSlot ( )

sendSlotUpdate() public method

public sendSlotUpdate ( Player $source )
$source pocketmine\Player

setSourceItem() public method

public setSourceItem ( Item $item )
$item pocketmine\item\Item

Property Details

$inventory protected_oe property

protected $inventory

$slot protected_oe property

protected $slot

$sourceItem protected_oe property

protected $sourceItem