PHP Class pocketmine\event\entity\EntityInventoryChangeEvent

Inheritance: extends EntityEvent, implements pocketmine\event\Cancellable
Mostrar archivo Open project: ClearSkyTeam/ClearSky Class Usage Examples

Public Properties

Property Type Description
$handlerList

Public Methods

Method Description
__construct ( Entity $entity, Item $oldItem, Item $newItem, $slot )
getNewItem ( )
getOldItem ( )
getSlot ( )
setNewItem ( Item $item )

Method Details

__construct() public method

public __construct ( Entity $entity, Item $oldItem, Item $newItem, $slot )
$entity pocketmine\entity\Entity
$oldItem pocketmine\item\Item
$newItem pocketmine\item\Item

getNewItem() public method

public getNewItem ( )

getOldItem() public method

public getOldItem ( )

getSlot() public method

public getSlot ( )

setNewItem() public method

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

Property Details

$handlerList public_oe static_oe property

public static $handlerList