BidirectionalBandwidthStatsTracker
Methods
__construct()
php
public function __construct(int $historySize)add()
php
public function add(int $sendBytes, int $recvBytes) : voidgetReceive()
php
public function getReceive() : \pocketmine\network\BandwidthStatsTrackergetSend()
php
public function getSend() : \pocketmine\network\BandwidthStatsTrackerresetHistory()
php
public function resetHistory() : voidrotateAverageHistory()
php
public function rotateAverageHistory() : void