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

Public Member Functions

 __construct (private SubChunkPositionOffset $offset, private int $requestResult, private string $terrainData, private ?SubChunkPacketHeightMapInfo $heightMap)
 
 getHeightMap ()
 
 getOffset ()
 
 getRequestResult ()
 
 getTerrainData ()
 
 write (PacketSerializer $out, bool $cacheEnabled)
 

Static Public Member Functions

static read (PacketSerializer $in, bool $cacheEnabled)
 

Detailed Description

Definition at line 20 of file SubChunkPacketEntryCommon.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\SubChunkPacketEntryCommon::__construct ( private SubChunkPositionOffset  $offset,
private int  $requestResult,
private string  $terrainData,
private ?SubChunkPacketHeightMapInfo  $heightMap 
)

Definition at line 22 of file SubChunkPacketEntryCommon.php.

Member Function Documentation

◆ getHeightMap()

pocketmine\network\mcpe\protocol\types\SubChunkPacketEntryCommon::getHeightMap ( )

Definition at line 35 of file SubChunkPacketEntryCommon.php.

◆ getOffset()

pocketmine\network\mcpe\protocol\types\SubChunkPacketEntryCommon::getOffset ( )

Definition at line 29 of file SubChunkPacketEntryCommon.php.

◆ getRequestResult()

pocketmine\network\mcpe\protocol\types\SubChunkPacketEntryCommon::getRequestResult ( )

Definition at line 31 of file SubChunkPacketEntryCommon.php.

◆ getTerrainData()

pocketmine\network\mcpe\protocol\types\SubChunkPacketEntryCommon::getTerrainData ( )

Definition at line 33 of file SubChunkPacketEntryCommon.php.

◆ read()

static pocketmine\network\mcpe\protocol\types\SubChunkPacketEntryCommon::read ( PacketSerializer  $in,
bool  $cacheEnabled 
)
static

Definition at line 37 of file SubChunkPacketEntryCommon.php.

◆ write()

pocketmine\network\mcpe\protocol\types\SubChunkPacketEntryCommon::write ( PacketSerializer  $out,
bool  $cacheEnabled 
)

Definition at line 61 of file SubChunkPacketEntryCommon.php.


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