PocketMine-MP 5.16.1 git-585aee9386a787c95e73dd0a05ffca8329606b68
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: