PocketMine-MP 5.44.4 git-bc94a0da0c87abe7eb99d229a9ec672b3c405d11
Loading...
Searching...
No Matches
pocketmine\network\mcpe\protocol\types\SerializableVoxelCells Class Reference
+ Collaboration diagram for pocketmine\network\mcpe\protocol\types\SerializableVoxelCells:

Public Member Functions

 __construct (private int $xSize, private int $ySize, private int $zSize, private array $storage)
 
 getStorage ()
 
 getXSize ()
 
 getYSize ()
 
 getZSize ()
 
 write (ByteBufferWriter $out)
 

Static Public Member Functions

static read (ByteBufferReader $in)
 

Detailed Description

Definition at line 23 of file SerializableVoxelCells.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\protocol\types\SerializableVoxelCells::__construct ( private int $xSize,
private int $ySize,
private int $zSize,
private array $storage )
Parameters
list<int>$storage

Definition at line 28 of file SerializableVoxelCells.php.

Member Function Documentation

◆ getStorage()

pocketmine\network\mcpe\protocol\types\SerializableVoxelCells::getStorage ( )
Returns
list<int>

Definition at line 44 of file SerializableVoxelCells.php.

◆ getXSize()

pocketmine\network\mcpe\protocol\types\SerializableVoxelCells::getXSize ( )

Definition at line 35 of file SerializableVoxelCells.php.

◆ getYSize()

pocketmine\network\mcpe\protocol\types\SerializableVoxelCells::getYSize ( )

Definition at line 37 of file SerializableVoxelCells.php.

◆ getZSize()

pocketmine\network\mcpe\protocol\types\SerializableVoxelCells::getZSize ( )

Definition at line 39 of file SerializableVoxelCells.php.

◆ read()

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

Definition at line 46 of file SerializableVoxelCells.php.

◆ write()

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

Definition at line 64 of file SerializableVoxelCells.php.


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