Properties |
protected
|
|
$packets = [self::PACKET_STATUS => "\xFF\xFF\xFF\xFF\x67\x65\x74\x73\x74\x61\x74\x75\x73\x0A"]
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\xFF\xFF\xFFstatusResponse" => '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 = 'quake3'
The query protocol used to make the call
The query protocol used to make the call
|
#
|
protected
|
|
$name = 'quake3'
String name of this protocol class
String name of this protocol class
|
#
|
protected
|
|
$name_long = "Quake 3 Server"
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' => [
'gametype' => 'gamename',
'hostname' => 'sv_hostname',
'mapname' => 'mapname',
'maxplayers' => 'sv_maxclients',
'mod' => 'g_gametype',
'numplayers' => 'clients',
'password' => ['g_needpass', 'pswrd'],
],
'player' => ['name' => 'name', 'ping' => 'ping', 'score' => 'frags'],
]
Normalize settings for this protocol
Normalize settings for this protocol
|
#
|