◆ __get()
| pocketmine\network\mcpe\protocol\DataPacket::__get |
( |
| $name | ) |
|
|
inherited |
◆ __set()
| pocketmine\network\mcpe\protocol\DataPacket::__set |
( |
| $name, |
|
|
| $value ) |
|
inherited |
◆ buildDefinitionsFromData()
| pocketmine\network\mcpe\protocol\BiomeDefinitionListPacket::buildDefinitionsFromData |
( |
| ) |
|
Returns biome definition data with all string indexes resolved to actual strings.
- Returns
- BiomeDefinitionEntry[] @phpstan-return list<BiomeDefinitionEntry>
- Exceptions
-
Definition at line 106 of file BiomeDefinitionListPacket.php.
◆ canBeSentBeforeLogin()
| pocketmine\network\mcpe\protocol\DataPacket::canBeSentBeforeLogin |
( |
| ) |
|
|
inherited |
◆ create()
| static pocketmine\network\mcpe\protocol\BiomeDefinitionListPacket::create |
( |
array | $definitionData, |
|
|
array | $strings ) |
|
static |
@generate-create-func
- Parameters
-
| BiomeDefinitionData[] | $definitionData | |
| string[] | $strings | @phpstan-param list<BiomeDefinitionData> $definitionData @phpstan-param list<string> $strings |
Definition at line 47 of file BiomeDefinitionListPacket.php.
◆ decode()
| pocketmine\network\mcpe\protocol\DataPacket::decode |
( |
ByteBufferReader | $in | ) |
|
|
finalinherited |
◆ decodeHeader()
| pocketmine\network\mcpe\protocol\DataPacket::decodeHeader |
( |
ByteBufferReader | $in | ) |
|
|
protectedinherited |
- Exceptions
-
| DataDecodeException | |
| PacketDecodeException | |
Definition at line 64 of file DataPacket.php.
◆ decodePayload()
| pocketmine\network\mcpe\protocol\BiomeDefinitionListPacket::decodePayload |
( |
ByteBufferReader | $in | ) |
|
|
protected |
◆ encode()
| pocketmine\network\mcpe\protocol\DataPacket::encode |
( |
ByteBufferWriter | $out | ) |
|
|
finalinherited |
◆ encodeHeader()
| pocketmine\network\mcpe\protocol\DataPacket::encodeHeader |
( |
ByteBufferWriter | $out | ) |
|
|
protectedinherited |
◆ encodePayload()
| pocketmine\network\mcpe\protocol\BiomeDefinitionListPacket::encodePayload |
( |
ByteBufferWriter | $out | ) |
|
|
protected |
◆ fromDefinitions()
| static pocketmine\network\mcpe\protocol\BiomeDefinitionListPacket::fromDefinitions |
( |
array | $definitions | ) |
|
|
static |
◆ getName()
| pocketmine\network\mcpe\protocol\DataPacket::getName |
( |
| ) |
|
|
inherited |
◆ handle()
Performs handling for this packet. Usually you'll want an appropriately named method in the session handler for this.
This method returns a bool to indicate whether the packet was handled or not. If the packet was unhandled, a debug message will be logged with a hexdump of the packet.
Typically this method returns the return value of the handler in the supplied PacketHandler. See other packets for examples how to implement this.
- Returns
- bool true if the packet was handled successfully, false if not.
- Exceptions
-
| PacketDecodeException | if broken data was found in the packet |
Implements pocketmine\network\mcpe\protocol\Packet.
Definition at line 144 of file BiomeDefinitionListPacket.php.
◆ pid()
| pocketmine\network\mcpe\protocol\DataPacket::pid |
( |
| ) |
|
|
inherited |
◆ $recipientSubId
| int pocketmine\network\mcpe\protocol\DataPacket::$recipientSubId = 0 |
|
inherited |
◆ $senderSubId
| int pocketmine\network\mcpe\protocol\DataPacket::$senderSubId = 0 |
|
inherited |
◆ NETWORK_ID
| const pocketmine\network\mcpe\protocol\BiomeDefinitionListPacket::NETWORK_ID = ProtocolInfo::BIOME_DEFINITION_LIST_PACKET |
◆ PID_MASK
| const pocketmine\network\mcpe\protocol\DataPacket::PID_MASK = 0x3ff |
|
inherited |
The documentation for this class was generated from the following file: