PocketMine-MP 5.33.2 git-1133d49c924b4358c79d44eeb97dcbf56cb4d1eb
|
Public Member Functions | |
__construct (Player $viewer, Inventory $inventory, private int $type) | |
getInventory () | |
getType () | |
getViewer () | |
onClose () | |
onOpen () | |
Public Attributes | |
const | TYPE_ARMOR = 2 |
const | TYPE_CRAFTING = 4 |
const | TYPE_CURSOR = 3 |
const | TYPE_INVENTORY = 0 |
const | TYPE_OFFHAND = 1 |
Window for player-owned inventories. The player can access these at all times.
Definition at line 31 of file PlayerInventoryWindow.php.
pocketmine\player\PlayerInventoryWindow::__construct | ( | Player | $viewer, |
Inventory | $inventory, | ||
private int | $type ) |
Definition at line 39 of file PlayerInventoryWindow.php.
|
inherited |
Definition at line 39 of file InventoryWindow.php.
pocketmine\player\PlayerInventoryWindow::getType | ( | ) |
Returns the type of player inventory in this window.
Definition at line 50 of file PlayerInventoryWindow.php.
|
inherited |
Definition at line 35 of file InventoryWindow.php.
|
inherited |
Definition at line 47 of file InventoryWindow.php.
|
inherited |
Definition at line 43 of file InventoryWindow.php.
const pocketmine\player\PlayerInventoryWindow::TYPE_ARMOR = 2 |
Definition at line 35 of file PlayerInventoryWindow.php.
const pocketmine\player\PlayerInventoryWindow::TYPE_CRAFTING = 4 |
Definition at line 37 of file PlayerInventoryWindow.php.
const pocketmine\player\PlayerInventoryWindow::TYPE_CURSOR = 3 |
Definition at line 36 of file PlayerInventoryWindow.php.
const pocketmine\player\PlayerInventoryWindow::TYPE_INVENTORY = 0 |
Definition at line 33 of file PlayerInventoryWindow.php.
const pocketmine\player\PlayerInventoryWindow::TYPE_OFFHAND = 1 |
Definition at line 34 of file PlayerInventoryWindow.php.