PHP Class pocketmine\event\inventory\InventoryEvent

Inheritance: extends pocketmine\event\Event
Show file Open project: ClearSkyTeam/ClearSky Class Usage Examples

Protected Properties

Property Type Description
$inventory pocketmine\inventory\Inventory

Public Methods

Method Description
__construct ( pocketmine\inventory\Inventory $inventory )
getInventory ( ) : pocketmine\inventory\Inventory
getViewers ( ) : Human[]

Method Details

__construct() public method

public __construct ( pocketmine\inventory\Inventory $inventory )
$inventory pocketmine\inventory\Inventory

getInventory() public method

public getInventory ( ) : pocketmine\inventory\Inventory
return pocketmine\inventory\Inventory

getViewers() public method

public getViewers ( ) : Human[]
return pocketmine\entity\Human[]

Property Details

$inventory protected property

protected Inventory,pocketmine\inventory $inventory
return pocketmine\inventory\Inventory