PocketMine-MP 5.33.2 git-1133d49c924b4358c79d44eeb97dcbf56cb4d1eb
Loading...
Searching...
No Matches
pocketmine\network\mcpe\ComplexWindowMapEntry Class Reference
+ Collaboration diagram for pocketmine\network\mcpe\ComplexWindowMapEntry:

Public Member Functions

 __construct (private InventoryWindow $inventory, private array $slotMap)
 
 getSlotMap ()
 
 getWindow ()
 
 mapCoreToNet (int $slot)
 
 mapNetToCore (int $slot)
 

Detailed Description

Definition at line 28 of file ComplexWindowMapEntry.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\ComplexWindowMapEntry::__construct ( private InventoryWindow $inventory,
private array $slotMap )
Parameters
int[]$slotMap@phpstan-param array<int, int> $slotMap

Definition at line 40 of file ComplexWindowMapEntry.php.

Member Function Documentation

◆ getSlotMap()

pocketmine\network\mcpe\ComplexWindowMapEntry::getSlotMap ( )
Returns
int[] @phpstan-return array<int, int>

Definition at line 55 of file ComplexWindowMapEntry.php.

◆ getWindow()

pocketmine\network\mcpe\ComplexWindowMapEntry::getWindow ( )

Definition at line 49 of file ComplexWindowMapEntry.php.

◆ mapCoreToNet()

pocketmine\network\mcpe\ComplexWindowMapEntry::mapCoreToNet ( int $slot)

Definition at line 61 of file ComplexWindowMapEntry.php.

◆ mapNetToCore()

pocketmine\network\mcpe\ComplexWindowMapEntry::mapNetToCore ( int $slot)

Definition at line 57 of file ComplexWindowMapEntry.php.


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