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

Static Public Member Functions

static broadcastEntityEvent (array $recipients, \Closure $callback)
 
static broadcastPackets (array $recipients, array $packets)
 

Detailed Description

Definition at line 32 of file NetworkBroadcastUtils.php.

Member Function Documentation

◆ broadcastEntityEvent()

static pocketmine\network\mcpe\NetworkBroadcastUtils::broadcastEntityEvent ( array $recipients,
\Closure $callback )
static
Parameters
Player[]$recipients@phpstan-param \Closure(EntityEventBroadcaster, array<int, NetworkSession>) : void $callback

Definition at line 80 of file NetworkBroadcastUtils.php.

◆ broadcastPackets()

static pocketmine\network\mcpe\NetworkBroadcastUtils::broadcastPackets ( array $recipients,
array $packets )
static
Parameters
Player[]$recipients
ClientboundPacket[]$packets

Definition at line 42 of file NetworkBroadcastUtils.php.


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