Properties |
protected
|
|
$packets = [self::PACKET_STATUS => "\xFF\xFF\xFF\xFFstatus\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\xFF\xFF\xFF\x70\x72\x69\x6e\x74" => '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 = 'quake2'
The query protocol used to make the call
The query protocol used to make the call
|
#
|
protected
|
|
$name = 'quake2'
String name of this protocol class
String name of this protocol class
|
#
|
protected
|
|
$name_long = "Quake 2 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' => 'hostname',
'mapname' => 'mapname',
'maxplayers' => 'maxclients',
'mod' => 'g_gametype',
'numplayers' => 'clients',
'password' => 'password',
],
'player' => ['name' => 'name', 'ping' => 'ping', 'score' => 'frags'],
]
Normalize settings for this protocol
Normalize settings for this protocol
|
#
|