PocketMine-MP 5.21.2 git-a6534ecbbbcf369264567d27e5ed70f7f5be9816
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: