Properties |
protected
|
|
$packets = [
self::PACKET_CHALLENGE => "\xFF\xFF\xFF\xFF\x57",
self::PACKET_RULES => "\xFF\xFF\xFF\xFF\x56%s",
self::PACKET_PLAYERS => "\xFF\xFF\xFF\xFF\x55%s",
self::PACKET_INFO => "\xFF\xFF\xFF\xFF\x46\x4C\x53\x51",
]
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\x49\x02" => 'processInfo',
"\xFF\xFF\xFF\xFF\x45\x00" => 'processRules',
"\xFF\xFF\xFF\xFF\x44\x00" => 'processPlayers',
]
Use the response flag to figure out what method to run
Use the response flag to figure out what method to run
|
#
|
protected
|
|
$protocol = 'ffow'
The query protocol used to make the call
The query protocol used to make the call
|
#
|
protected
|
|
$name = 'ffow'
String name of this protocol class
String name of this protocol class
|
#
|
protected
|
|
$name_long = "Frontlines Fuel of War"
Longer string name of this protocol class
Longer string name of this protocol class
|
#
|
protected
|
|
$join_link = null
The client join link
|
#
|
protected
|
|
$port_diff = 2
query_port = client_port + 2
query_port = client_port + 2
|
#
|
protected
|
|
$normalize = [
'general' => [
'gametype' => 'gamemode',
'hostname' => 'servername',
'mapname' => 'mapname',
'maxplayers' => 'max_players',
'mod' => 'modname',
'numplayers' => 'num_players',
'password' => 'password',
],
'player' => ['name' => 'name', 'ping' => 'ping', 'score' => 'frags'],
]
Normalize settings for this protocol
Normalize settings for this protocol
|
#
|