extends |
Protocol |
---|
Enemy Territory Quake Wars Protocol Class
Methods | ||
---|---|---|
public
|
processResponse(): array
|
# |
protected
|
processStatus(Buffer $buffer): array
|
# |
protected
|
parsePlayers(Buffer &$buffer, Result &$result): void
|
# |
protected
|
parsePlayersExtra(Buffer &$buffer, Result &$result): void
|
# |
Properties | |||
---|---|---|---|
protected
|
array
|
$packets = [self::PACKET_STATUS => "\xFF\xFFgetInfoEx\x00\x00\x00\x00"]
|
# |
protected
|
array
|
$responses = ["\xFF\xFFinfoExResponse" => "processStatus"]
|
# |
protected
|
string
|
$protocol = 'etqw'
|
# |
protected
|
string
|
$name = 'etqw'
|
# |
protected
|
string
|
$name_long = "Enemy Territory Quake Wars"
|
# |
protected
|
array
|
$normalize = [
'general' => [
'gametype' => 'campaign',
'hostname' => 'name',
'mapname' => 'map',
'maxplayers' => 'maxPlayers',
'mod' => 'gamename',
'numplayers' => 'numplayers',
'password' => 'privateClients',
],
'player' => ['name' => 'name', 'score' => 'score', 'time' => 'time'],
]
|
# |
Properties inherited from GameQ\Protocol |
---|
$port_diff, $transport, $process_methods, $packets_response, $result, $options, $state, $join_link |