This commit is contained in:
Shoghi Cervantes Pueyo 2013-01-13 12:18:07 +01:00
parent dff26611e5
commit ce7c7efc79
4 changed files with 118 additions and 7 deletions

View file

@ -26,11 +26,11 @@ the Free Software Foundation, either version 3 of the License, or
*/
class MinecraftInterface{
var $pstruct
var $name
var $client
var $pstruct;
var $name;
var $client;
var $dataName;
private $socket
private $socket;
private $data;
function __construct($server, $port = 25565, $listen = false, $client = true){
$this->socket = new UDPSocket($server, $port, (bool) $listen);