PocketMine-MP 5.23.3 git-0b60a47cdecd9ab84a4e6edcbd13b5abf634b14c
Loading...
Searching...
No Matches
pocketmine\network\mcpe\protocol\types\inventory\ItemStackWrapper Class Reference
+ Collaboration diagram for pocketmine\network\mcpe\protocol\types\inventory\ItemStackWrapper:

Public Member Functions

 __construct (private int $stackId, private ItemStack $itemStack)
 
 getItemStack ()
 
 getStackId ()
 

Static Public Member Functions

static legacy (ItemStack $itemStack)
 

Detailed Description

Definition at line 17 of file ItemStackWrapper.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\inventory\ItemStackWrapper::__construct ( private int $stackId,
private ItemStack $itemStack )

Definition at line 18 of file ItemStackWrapper.php.

Member Function Documentation

◆ getItemStack()

pocketmine\network\mcpe\protocol\types\inventory\ItemStackWrapper::getItemStack ( )

Definition at line 29 of file ItemStackWrapper.php.

◆ getStackId()

pocketmine\network\mcpe\protocol\types\inventory\ItemStackWrapper::getStackId ( )

Definition at line 27 of file ItemStackWrapper.php.

◆ legacy()

static pocketmine\network\mcpe\protocol\types\inventory\ItemStackWrapper::legacy ( ItemStack $itemStack)
static

Definition at line 23 of file ItemStackWrapper.php.


The documentation for this class was generated from the following file: