PocketMine-MP 5.23.3 git-f7687af337d001ddbcc47b8e773f014a33faa662
Loading...
Searching...
No Matches
pocketmine\network\mcpe\StandardPacketBroadcaster Class Reference
+ Inheritance diagram for pocketmine\network\mcpe\StandardPacketBroadcaster:
+ Collaboration diagram for pocketmine\network\mcpe\StandardPacketBroadcaster:

Public Member Functions

 __construct (private Server $server)
 
 broadcastPackets (array $recipients, array $packets)
 

Detailed Description

Definition at line 37 of file StandardPacketBroadcaster.php.

Constructor & Destructor Documentation

◆ __construct()

pocketmine\network\mcpe\StandardPacketBroadcaster::__construct ( private Server $server)

Definition at line 38 of file StandardPacketBroadcaster.php.

Member Function Documentation

◆ broadcastPackets()

pocketmine\network\mcpe\StandardPacketBroadcaster::broadcastPackets ( array $recipients,
array $packets )
Parameters
NetworkSession[]$recipients
ClientboundPacket[]$packets

Implements pocketmine\network\mcpe\PacketBroadcaster.

Definition at line 42 of file StandardPacketBroadcaster.php.


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