PocketMine-MP 5.18.1 git-9381fc4172e5dce4cada1cb356050c8a2ab57b94
pocketmine\network\mcpe\protocol\types\inventory\InventoryTransactionChangedSlotsHack Class Reference
+ Collaboration diagram for pocketmine\network\mcpe\protocol\types\inventory\InventoryTransactionChangedSlotsHack:

Public Member Functions

 __construct (private int $containerId, private array $changedSlotIndexes)
 
 getChangedSlotIndexes ()
 
 getContainerId ()
 
 write (PacketSerializer $out)
 

Static Public Member Functions

static read (PacketSerializer $in)
 

Detailed Description

Definition at line 20 of file InventoryTransactionChangedSlotsHack.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\inventory\InventoryTransactionChangedSlotsHack::__construct ( private int  $containerId,
private array  $changedSlotIndexes 
)
Parameters
int[]$changedSlotIndexes

Definition at line 24 of file InventoryTransactionChangedSlotsHack.php.

Member Function Documentation

◆ getChangedSlotIndexes()

pocketmine\network\mcpe\protocol\types\inventory\InventoryTransactionChangedSlotsHack::getChangedSlotIndexes ( )
Returns
int[]

Definition at line 32 of file InventoryTransactionChangedSlotsHack.php.

◆ getContainerId()

pocketmine\network\mcpe\protocol\types\inventory\InventoryTransactionChangedSlotsHack::getContainerId ( )

Definition at line 29 of file InventoryTransactionChangedSlotsHack.php.

◆ read()

static pocketmine\network\mcpe\protocol\types\inventory\InventoryTransactionChangedSlotsHack::read ( PacketSerializer  $in)
static

Definition at line 34 of file InventoryTransactionChangedSlotsHack.php.

◆ write()

pocketmine\network\mcpe\protocol\types\inventory\InventoryTransactionChangedSlotsHack::write ( PacketSerializer  $out)

Definition at line 43 of file InventoryTransactionChangedSlotsHack.php.


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