PocketMine-MP 5.18.2 git-00e39821f06a4b6d728d35053c2621dbb19369ff
pocketmine\network\mcpe\protocol\types\SubChunkPacketHeightMapInfo Class Reference
+ Collaboration diagram for pocketmine\network\mcpe\protocol\types\SubChunkPacketHeightMapInfo:

Public Member Functions

 __construct (private array $heights)
 
 getHeight (int $x, int $z)
 
 getHeights ()
 
 isAllTooHigh ()
 
 isAllTooLow ()
 
 write (PacketSerializer $out)
 

Static Public Member Functions

static allTooHigh ()
 
static allTooLow ()
 
static read (PacketSerializer $in)
 

Detailed Description

Definition at line 22 of file SubChunkPacketHeightMapInfo.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\SubChunkPacketHeightMapInfo::__construct ( private array  $heights)
Parameters
int[]$heightsZZZZXXXX key bit order @phpstan-param list<int> $heights

Definition at line 28 of file SubChunkPacketHeightMapInfo.php.

Member Function Documentation

◆ allTooHigh()

static pocketmine\network\mcpe\protocol\types\SubChunkPacketHeightMapInfo::allTooHigh ( )
static

Definition at line 59 of file SubChunkPacketHeightMapInfo.php.

◆ allTooLow()

static pocketmine\network\mcpe\protocol\types\SubChunkPacketHeightMapInfo::allTooLow ( )
static

Definition at line 55 of file SubChunkPacketHeightMapInfo.php.

◆ getHeight()

pocketmine\network\mcpe\protocol\types\SubChunkPacketHeightMapInfo::getHeight ( int  $x,
int  $z 
)

Definition at line 37 of file SubChunkPacketHeightMapInfo.php.

◆ getHeights()

pocketmine\network\mcpe\protocol\types\SubChunkPacketHeightMapInfo::getHeights ( )
Returns
int[]

Definition at line 35 of file SubChunkPacketHeightMapInfo.php.

◆ isAllTooHigh()

pocketmine\network\mcpe\protocol\types\SubChunkPacketHeightMapInfo::isAllTooHigh ( )

Definition at line 72 of file SubChunkPacketHeightMapInfo.php.

◆ isAllTooLow()

pocketmine\network\mcpe\protocol\types\SubChunkPacketHeightMapInfo::isAllTooLow ( )

Definition at line 63 of file SubChunkPacketHeightMapInfo.php.

◆ read()

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

Definition at line 41 of file SubChunkPacketHeightMapInfo.php.

◆ write()

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

Definition at line 49 of file SubChunkPacketHeightMapInfo.php.


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