Definition at line 26 of file PacketBatch.php.
◆ decodePackets()
| static pocketmine\network\mcpe\protocol\serializer\PacketBatch::decodePackets |
( |
ByteBufferReader | $in, |
|
|
PacketPool | $packetPool ) |
|
staticfinal |
◆ decodeRaw()
| static pocketmine\network\mcpe\protocol\serializer\PacketBatch::decodeRaw |
( |
ByteBufferReader | $in | ) |
|
|
staticfinal |
@phpstan-return \Generator<int, string, void, void>
- Exceptions
-
Definition at line 36 of file PacketBatch.php.
◆ encodePackets()
| static pocketmine\network\mcpe\protocol\serializer\PacketBatch::encodePackets |
( |
ByteBufferWriter | $out, |
|
|
array | $packets ) |
|
staticfinal |
- Parameters
-
| Packet[] | $packets | @phpstan-param list<Packet> $packets |
Definition at line 89 of file PacketBatch.php.
◆ encodeRaw()
| static pocketmine\network\mcpe\protocol\serializer\PacketBatch::encodeRaw |
( |
ByteBufferWriter | $out, |
|
|
array | $packets ) |
|
staticfinal |
- Parameters
-
| string[] | $packets | @phpstan-param list<string> $packets |
Definition at line 54 of file PacketBatch.php.
The documentation for this class was generated from the following file: