Skip to content

SendUsageTask ​

class · pocketmine\stats\SendUsageTask · source

Extends AsyncTask

Constants ​

TYPE_CLOSE ​

php
public const TYPE_CLOSE = 3

TYPE_OPEN ​

php
public const TYPE_OPEN = 1

TYPE_STATUS ​

php
public const TYPE_STATUS = 2

Properties ​

$data ​

php
public string $data

$endpoint ​

php
public string $endpoint

Methods ​

__construct() ​

php
public function __construct(\pocketmine\Server $server, int $type, array $playerList = [])

onRun() ​

php
public function onRun() : void

VanillaMine is a fork of PocketMine-MP, maintained by Luxury Nodes. Not affiliated with the PMMP team or Mojang.