コード例 #1
0
ファイル: 7d2d.php プロジェクト: mefisto2009/GameAP
 /**
  * Overload for client port
  *
  * @param string $ip
  * @param integer $port
  * @param array $options
  */
 public function __construct($ip = FALSE, $port = FALSE, $options = array())
 {
     // Got to do this first
     parent::__construct($ip, $port, $options);
     // Correct the client port since query_port = client_port + 1
     $this->port_client($this->port_client() - 1);
 }
コード例 #2
0
ファイル: rust.php プロジェクト: mefisto2009/GameAP
 /**
  * Overload for client port
  *
  * @param string $ip
  * @param integer $port
  * @param array $options
  */
 public function __construct($ip = FALSE, $port = FALSE, $options = array())
 {
     // Got to do this first
     parent::__construct($ip, $port, $options);
 }