Definition at line 24 of file MapImage.php.
◆ __construct()
pocketmine\network\mcpe\protocol\types\MapImage::__construct |
( |
array |
$pixels | ) |
|
- Parameters
-
Color[][] | $pixels | @phpstan-param list<list<Color>> $pixels |
Definition at line 42 of file MapImage.php.
◆ decode()
static pocketmine\network\mcpe\protocol\types\MapImage::decode |
( |
BinaryStream |
$input, |
|
|
int |
$height, |
|
|
int |
$width |
|
) |
| |
|
static |
◆ encode()
pocketmine\network\mcpe\protocol\types\MapImage::encode |
( |
BinaryStream |
$output | ) |
|
◆ getHeight()
pocketmine\network\mcpe\protocol\types\MapImage::getHeight |
( |
| ) |
|
◆ getPixels()
pocketmine\network\mcpe\protocol\types\MapImage::getPixels |
( |
| ) |
|
- Returns
- Color[][] @phpstan-return list<list<Color>>
Definition at line 73 of file MapImage.php.
◆ getWidth()
pocketmine\network\mcpe\protocol\types\MapImage::getWidth |
( |
| ) |
|
◆ MAX_HEIGHT
const pocketmine\network\mcpe\protocol\types\MapImage::MAX_HEIGHT = 128 |
◆ MAX_WIDTH
const pocketmine\network\mcpe\protocol\types\MapImage::MAX_WIDTH = 128 |
The documentation for this class was generated from the following file: