extends |
Http |
---|
Stationeers Protocol Class Note: This protocol does use the offical, centralized "Metaserver" to query the list of all available servers. This is effectively a host controlled by a third party which could interfere with the functionality of this protocol.
Methods | ||
---|---|---|
public
|
beforeSend(Server $server): void
|
# |
public
|
processResponse(): array
|
# |
Methods inherited from GameQ\Protocol |
---|
__construct(), __toString(), portDiff(), findQueryPort(), joinLink(), name(), nameLong(), state(), getProtocol(), transport(), options(), getPacket(), packetResponse(), hasChallenge(), challengeParseAndApply(), challengeApply(), getNormalize(), |
Constants | |||
---|---|---|---|
public
|
SERVER_LIST_HOST = '40.82.200.175'
|
# | |
public
|
SERVER_LIST_PORT = 8081
|
# |
Properties | |||
---|---|---|---|
protected
|
array
|
$packets = [self::PACKET_STATUS => "GET /list HTTP/1.0\r\nAccept: */*\r\n\r\n"]
|
# |
protected
|
string
|
$protocol = 'stationeers'
|
# |
protected
|
string
|
$name = 'stationeers'
|
# |
protected
|
string
|
$name_long = "Stationeers"
|
# |
protected
|
array
|
$normalize = [
'general' => [
'dedicated' => 'dedicated',
'hostname' => 'hostname',
'mapname' => 'map',
'maxplayers' => 'maxplayers',
'numplayers' => 'numplayers',
'password' => 'password',
],
]
|
# |
protected
|
string
|
$realIp = null
|
# |
protected
|
int
|
$realPortQuery = null
|
# |
Properties inherited from GameQ\Protocols\Http |
---|
$transport |
Properties inherited from GameQ\Protocol |
---|
$port_diff, $responses, $process_methods, $packets_response, $result, $options, $state, $join_link |