extends |
Protocol |
---|
Tibia Protocol Class Tibia server query protocol class Credit to Ahmad Fatoum for providing Perl based querying as a roadmap
Methods | ||
---|---|---|
public
|
processResponse(): array
|
# |
Properties | |||
---|---|---|---|
protected
|
array
|
$packets = [self::PACKET_STATUS => "\x06\x00\xFF\xFF\x69\x6E\x66\x6F"]
|
# |
protected
|
string
|
$transport = self::TRANSPORT_TCP
|
# |
protected
|
string
|
$protocol = 'tibia'
|
# |
protected
|
string
|
$name = 'tibia'
|
# |
protected
|
string
|
$name_long = "Tibia"
|
# |
protected
|
string
|
$join_link = "otserv://%s/%d/"
|
# |
protected
|
array
|
$normalize = [
'general' => [
'dedicated' => 'dedicated',
'gametype' => 'server',
'hostname' => 'servername',
'motd' => 'motd',
'maxplayers' => 'players_max',
'numplayers' => 'players_online',
'map' => 'map_name',
],
]
|
# |
Properties inherited from GameQ\Protocol |
---|
$port_diff, $responses, $process_methods, $packets_response, $result, $options, $state, |