PocketMine-MP 5.39.3 git-400eb2dddf91a9c112aa09f3b498ffc8c85e98ed
Loading...
Searching...
No Matches
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 (ByteBufferWriter $out)
 

Static Public Member Functions

static read (ByteBufferReader $in)
 

Detailed Description

Definition at line 23 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 27 of file InventoryTransactionChangedSlotsHack.php.

Member Function Documentation

◆ getChangedSlotIndexes()

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

Definition at line 35 of file InventoryTransactionChangedSlotsHack.php.

◆ getContainerId()

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

Definition at line 32 of file InventoryTransactionChangedSlotsHack.php.

◆ read()

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

Definition at line 37 of file InventoryTransactionChangedSlotsHack.php.

◆ write()

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

Definition at line 46 of file InventoryTransactionChangedSlotsHack.php.


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