Properties |
protected
|
|
$packets = [self::PACKET_ALL => "\xFF\xFFgetInfo\x00PiNGPoNG\x00"]
Array of packets we want to look up.
Each key should correspond to a defined method in this or a parent class
Array of packets we want to look up.
Each key should correspond to a defined method in this or a parent class
|
#
|
protected
|
|
$responses = ["\xFF\xFFinfoResponse" => 'processStatus']
Use the response flag to figure out what method to run
Use the response flag to figure out what method to run
|
#
|
protected
|
|
$protocol = 'doom3'
The query protocol used to make the call
The query protocol used to make the call
|
#
|
protected
|
|
$name = 'doom3'
String name of this protocol class
String name of this protocol class
|
#
|
protected
|
|
$name_long = "Doom 3"
Longer string name of this protocol class
Longer string name of this protocol class
|
#
|
protected
|
|
$join_link = null
The client join link
|
#
|
protected
|
|
$normalize = [
'general' => [
'hostname' => 'si_name',
'gametype' => 'gamename',
'mapname' => 'si_map',
'maxplayers' => 'si_maxPlayers',
'numplayers' => 'clients',
'password' => 'si_usepass',
],
'player' => ['name' => 'name', 'ping' => 'ping'],
]
Normalize settings for this protocol
Normalize settings for this protocol
|
#
|