extends |
Protocol |
---|
Lost Heaven Protocol class Reference: http://lh-mp.eu/wiki/index.php/Query_System
Methods | ||
---|---|---|
public
|
processResponse(): array
|
# |
protected
|
processDetails(Buffer $buffer): array
|
# |
protected
|
processPlayers(Buffer $buffer): array
|
# |
Properties | |||
---|---|---|---|
protected
|
array
|
$packets = [self::PACKET_DETAILS => "LHMPo", self::PACKET_PLAYERS => "LHMPp"]
|
# |
protected
|
array
|
$responses = ["LHMPo" => "processDetails", "LHMPp" => "processPlayers"]
|
# |
protected
|
string
|
$protocol = 'lhmp'
|
# |
protected
|
string
|
$name = 'lhmp'
|
# |
protected
|
string
|
$name_long = "Lost Heaven"
|
# |
protected
|
int
|
$port_diff = 1
|
# |
protected
|
array
|
$normalize = [
'general' => [
'gametype' => 'gamemode',
'hostname' => 'servername',
'mapname' => 'mapname',
'maxplayers' => 'maxplayers',
'numplayers' => 'numplayers',
'password' => 'password',
],
'player' => ['name' => 'name'],
]
|
# |
Properties inherited from GameQ\Protocol |
---|
$transport, $process_methods, $packets_response, $result, $options, $state, $join_link |