EnchantingTransaction
Extends InventoryTransaction
Methods
__construct()
php
public function __construct(\pocketmine\player\Player $source, \pocketmine\item\enchantment\EnchantingOption $option, int $cost)callExecuteEvent() protected
php
protected function callExecuteEvent() : boolexecute()
php
public function execute() : voidvalidate()
php
public function validate() : void