Properties |
protected
|
|
$packets = [
self::PACKET_DETAILS => "\x79\x00\x00\x00\x00",
self::PACKET_RULES => "\x79\x00\x00\x00\x01",
self::PACKET_PLAYERS => "\x79\x00\x00\x00\x02",
]
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 = [
"\x80\x00\x00\x00\x00" => "processDetails",
"\x80\x00\x00\x00\x01" => "processRules",
"\x80\x00\x00\x00\x02" => "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 = 'unreal2'
The query protocol used to make the call
The query protocol used to make the call
|
#
|
protected
|
|
$name = 'unreal2'
String name of this protocol class
String name of this protocol class
|
#
|
protected
|
|
$name_long = "Unreal 2"
Longer string name of this protocol class
Longer string name of this protocol class
|
#
|
protected
|
|
$normalize = [
'general' => [
'dedicated' => 'ServerMode',
'gametype' => 'gametype',
'hostname' => 'servername',
'mapname' => 'mapname',
'maxplayers' => 'maxplayers',
'numplayers' => 'numplayers',
'password' => 'password',
],
'player' => ['name' => 'name', 'score' => 'score'],
]
Normalize settings for this protocol
Normalize settings for this protocol
|
#
|