extends |
Protocol |
---|
Doom3 Protocol Class Handles processing DOOM 3 servers
Methods | ||
---|---|---|
public
|
processResponse(): mixed
|
# |
protected
|
processStatus(Buffer $buffer): array
|
# |
protected
|
processServerInfo(Buffer $buffer): array
|
# |
protected
|
processPlayers(Buffer $buffer): array
|
# |
Properties | |||
---|---|---|---|
protected
|
array
|
$packets = [self::PACKET_ALL => "\xFF\xFFgetInfo\x00PiNGPoNG\x00"]
|
# |
protected
|
array
|
$responses = ["\xFF\xFFinfoResponse" => 'processStatus']
|
# |
protected
|
string
|
$protocol = 'doom3'
|
# |
protected
|
string
|
$name = 'doom3'
|
# |
protected
|
string
|
$name_long = "Doom 3"
|
# |
protected
|
array
|
$normalize = [
'general' => [
'hostname' => 'si_name',
'gametype' => 'gamename',
'mapname' => 'si_map',
'maxplayers' => 'si_maxPlayers',
'numplayers' => 'clients',
'password' => 'si_usepass',
],
'player' => ['name' => 'name', 'ping' => 'ping'],
]
|
# |
Properties inherited from GameQ\Protocol |
---|
$port_diff, $transport, $process_methods, $packets_response, $result, $options, $state, $join_link |