PocketMine-MP 5.31.1 git-a1d74b57109a7c91ffab73718182f3b1e530fae3
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 (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: