extends |
Protocol |
---|
StarMade Protocol Class StarMade server query protocol class Credit to Robin Promesberger schema@star-made.org for providing Java based querying as a roadmap
Methods | ||
---|---|---|
public
|
processResponse(): array
|
# |
protected
|
parseServerParameters(Buffer &$buffer): array
|
# |
Properties | |||
---|---|---|---|
protected
|
array
|
$packets = [self::PACKET_STATUS => "\x00\x00\x00\x09\x2a\xff\xff\x01\x6f\x00\x00\x00\x00"]
|
# |
protected
|
string
|
$transport = self::TRANSPORT_TCP
|
# |
protected
|
string
|
$protocol = 'starmade'
|
# |
protected
|
string
|
$name = 'starmade'
|
# |
protected
|
string
|
$name_long = "StarMade"
|
# |
protected
|
array
|
$normalize = [
'general' => [
'dedicated' => 'dedicated',
'hostname' => 'hostname',
'maxplayers' => 'max_players',
'numplayers' => 'num_players',
'password' => 'password',
],
]
|
# |
Properties inherited from GameQ\Protocol |
---|
$port_diff, $responses, $process_methods, $packets_response, $result, $options, $state, $join_link |