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

Static Public Member Functions

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

Detailed Description

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

Member Function Documentation

◆ allTooHigh()

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

Definition at line 60 of file SubChunkPacketHeightMapInfo.php.

◆ allTooLow()

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

Definition at line 56 of file SubChunkPacketHeightMapInfo.php.

◆ getHeight()

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

Definition at line 38 of file SubChunkPacketHeightMapInfo.php.

◆ getHeights()

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

Definition at line 36 of file SubChunkPacketHeightMapInfo.php.

◆ isAllTooHigh()

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

Definition at line 73 of file SubChunkPacketHeightMapInfo.php.

◆ isAllTooLow()

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

Definition at line 64 of file SubChunkPacketHeightMapInfo.php.

◆ read()

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

Definition at line 42 of file SubChunkPacketHeightMapInfo.php.

◆ write()

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

Definition at line 50 of file SubChunkPacketHeightMapInfo.php.


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