PHP Class pocketmine\inventory\DropItemTransaction

Inheritance: extends BaseTransaction
Afficher le fichier Open project: iTXTech/Genisys

Protected Properties

Свойство Type Description
$inventory
$slot
$sourceItem

Méthodes publiques

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

Method Details

__construct() public méthode

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

execute() public méthode

public execute ( Player $source ) : boolean
$source pocketmine\Player
Résultat boolean

getChange() public méthode

public getChange ( )

getInventory() public méthode

public getInventory ( )

getSlot() public méthode

public getSlot ( )

sendSlotUpdate() public méthode

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

setSourceItem() public méthode

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