. * * $Id: hexen2.php,v 1.1 2007/07/11 09:12:31 tombuskens Exp $ */ [hexen2] status = "\x80\x00\x00\x0e\x02HEXENII\x00\x05" require_once GAMEQ_BASE . 'Protocol.php'; /** * Hexen 2 protocol * * @author Tom Buskens * @version $Revision: 1.1 $ */ class GameQ_Protocol_hexen2 extends GameQ_Protocol { /* * status packet */ public function status() { // Header? $this->p->skip(5); $this->r->add('address', $this->p->readString()); $this->r->add('servername', $this->p->readString()); $this->r->add('map', $this->p->readString()); $this->r->add('num_players', $this->p->readInt8()); $this->r->add('max_players', $this->p->readInt8()); $this->p->skip(); // unknown } } ?>