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