PHP Class pocketmine\event\entity\EntityInventoryChangeEvent

Inheritance: extends EntityEvent, implements pocketmine\event\Cancellable
Afficher le fichier Open project: ClearSkyTeam/ClearSky Class Usage Examples

Méthodes publiques

Свойство Type Description
$handlerList

Méthodes publiques

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

Method Details

__construct() public méthode

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

getNewItem() public méthode

public getNewItem ( )

getOldItem() public méthode

public getOldItem ( )

getSlot() public méthode

public getSlot ( )

setNewItem() public méthode

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

Property Details

$handlerList public_oe static_oe property

public static $handlerList