PocketMine-MP 5.42.1 git-d77520d210fcb967a02bc11817ad625393c8ebc6
Loading...
Searching...
No Matches
pocketmine\network\mcpe\protocol\types\inventory\stackresponse\ItemStackResponseContainerInfo Class Reference
+ Collaboration diagram for pocketmine\network\mcpe\protocol\types\inventory\stackresponse\ItemStackResponseContainerInfo:

Public Member Functions

 __construct (private FullContainerName $containerName, private array $slots)
 
 getContainerName ()
 
 getSlots ()
 
 write (ByteBufferWriter $out)
 

Static Public Member Functions

static read (ByteBufferReader $in)
 

Detailed Description

Definition at line 23 of file ItemStackResponseContainerInfo.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\inventory\stackresponse\ItemStackResponseContainerInfo::__construct ( private FullContainerName $containerName,
private array $slots )
Parameters
ItemStackResponseSlotInfo[]$slots

Definition at line 27 of file ItemStackResponseContainerInfo.php.

Member Function Documentation

◆ getContainerName()

pocketmine\network\mcpe\protocol\types\inventory\stackresponse\ItemStackResponseContainerInfo::getContainerName ( )

Definition at line 32 of file ItemStackResponseContainerInfo.php.

◆ getSlots()

pocketmine\network\mcpe\protocol\types\inventory\stackresponse\ItemStackResponseContainerInfo::getSlots ( )
Returns
ItemStackResponseSlotInfo[]

Definition at line 35 of file ItemStackResponseContainerInfo.php.

◆ read()

static pocketmine\network\mcpe\protocol\types\inventory\stackresponse\ItemStackResponseContainerInfo::read ( ByteBufferReader $in)
static

Definition at line 37 of file ItemStackResponseContainerInfo.php.

◆ write()

pocketmine\network\mcpe\protocol\types\inventory\stackresponse\ItemStackResponseContainerInfo::write ( ByteBufferWriter $out)

Definition at line 46 of file ItemStackResponseContainerInfo.php.


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