PocketMine-MP 5.37.1 git-da6732df2656426fbd1b7898ed06c8286969d2f1
Loading...
Searching...
No Matches
pocketmine\network\mcpe\protocol\serializer\PacketBatch Class Reference
+ Collaboration diagram for pocketmine\network\mcpe\protocol\serializer\PacketBatch:

Static Public Member Functions

static decodePackets (ByteBufferReader $in, PacketPool $packetPool)
 
static decodeRaw (ByteBufferReader $in)
 
static encodePackets (ByteBufferWriter $out, array $packets)
 
static encodeRaw (ByteBufferWriter $out, array $packets)
 

Detailed Description

Definition at line 26 of file PacketBatch.php.

Member Function Documentation

◆ decodePackets()

static pocketmine\network\mcpe\protocol\serializer\PacketBatch::decodePackets ( ByteBufferReader $in,
PacketPool $packetPool )
staticfinal

@phpstan-return \Generator<int, Packet, void, void>

Exceptions
PacketDecodeException

Definition at line 65 of file PacketBatch.php.

References pocketmine\network\mcpe\protocol\PacketPool\getPacket().

+ Here is the call graph for this function:

◆ decodeRaw()

static pocketmine\network\mcpe\protocol\serializer\PacketBatch::decodeRaw ( ByteBufferReader $in)
staticfinal

@phpstan-return \Generator<int, string, void, void>

Exceptions
PacketDecodeException

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: