__construct() public method

public __construct ( pocketmine\network\SourceInterface $interface, null $clientID, string $ip, integer $port )
$interface pocketmine\network\SourceInterface
$clientID null
$ip string
$port integer
 public function __construct(SourceInterface $interface, $clientID, $address, $port, BigBrother $plugin)
 {
     $this->plugin = $plugin;
     $this->bigbrother_clientId = $clientID;
     parent::__construct($interface, $clientID, $address, $port);
     $this->setRemoveFormat(false);
     // Color Code
 }
Beispiel #2
0
 public function __construct(SourceInterface $interface, $clientID, $ip, $port)
 {
     parent::__construct($interface, $clientID, $ip, $port);
 }
Beispiel #3
0
 public function __construct(SourceInterface $interface, $clientID, $address, $port)
 {
     parent::__construct($interface, $clientID, $address, $port);
     $this->setRemoveFormat(false);
 }
 public function __construct(SourceInterface $interface, $clientID, $ip, $port)
 {
     parent::__construct($interface, $clientID, $ip, $port);
     $this->randomUUID = UUID::fromRandom();
     $this->inventory = new DummyInventory($this);
 }