extends |
Protocol |
---|
OpenTTD Protocol Class Handles processing Open Transport Tycoon Deluxe servers
Methods | ||
---|---|---|
public
|
processResponse(): mixed
|
# |
protected
|
processServerInfo(Buffer $buffer): array
|
# |
Properties | |||
---|---|---|---|
protected
|
array
|
$packets = [self::PACKET_ALL => "\x03\x00\x00"]
|
# |
protected
|
string
|
$protocol = 'openttd'
|
# |
protected
|
string
|
$name = 'openttd'
|
# |
protected
|
string
|
$name_long = "Open Transport Tycoon Deluxe"
|
# |
protected
|
array
|
$normalize = [
'general' => [
'hostname' => 'hostname',
'mapname' => 'map',
'maxplayers' => 'max_clients',
'numplayers' => 'clients',
'password' => 'password',
'dedicated' => 'dedicated',
],
]
|
# |
Properties inherited from GameQ\Protocol |
---|
$port_diff, $transport, $responses, $process_methods, $packets_response, $result, $options, $state, $join_link |