Properties |
protected
|
|
$packets = [self::PACKET_DETAILS => "LHMPo", self::PACKET_PLAYERS => "LHMPp"]
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 = ["LHMPo" => "processDetails", "LHMPp" => "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 = 'lhmp'
The query protocol used to make the call
The query protocol used to make the call
|
#
|
protected
|
|
$name = 'lhmp'
String name of this protocol class
String name of this protocol class
|
#
|
protected
|
|
$name_long = "Lost Heaven"
Longer string name of this protocol class
Longer string name of this protocol class
|
#
|
protected
|
|
$port_diff = 1
query_port = client_port + 1
query_port = client_port + 1
|
#
|
protected
|
|
$normalize = [
'general' => [
'gametype' => 'gamemode',
'hostname' => 'servername',
'mapname' => 'mapname',
'maxplayers' => 'maxplayers',
'numplayers' => 'numplayers',
'password' => 'password',
],
'player' => ['name' => 'name'],
]
Normalize settings for this protocol
Normalize settings for this protocol
|
#
|