extends |
Http |
---|
Grand Theft Auto Network Protocol Class https://stats.gtanet.work/ Result from this call should be a header + JSON response References:
Methods | ||
---|---|---|
public
|
beforeSend(Server $server)
|
# |
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(), |
Properties | |||
---|---|---|---|
protected
|
array
|
$packets = [
self::PACKET_STATUS => "GET /gtan/api.php?ip=%s&raw HTTP/1.0\r\nHost: multiplayerhosting.info\r\nAccept: */*\r\n\r\n",
]
|
# |
protected
|
string
|
$transport = self::TRANSPORT_SSL
|
# |
protected
|
string
|
$protocol = 'gtan'
|
# |
protected
|
string
|
$name = 'gtan'
|
# |
protected
|
string
|
$name_long = "Grand Theft Auto Network"
|
# |
protected
|
string
|
$realIp = null
|
# |
protected
|
|
$realPortQuery = null
|
# |
protected
|
array
|
$normalize = [
'general' => [
'dedicated' => 'dedicated',
'hostname' => 'hostname',
'mapname' => 'map',
'mod' => 'mod',
'maxplayers' => 'maxplayers',
'numplayers' => 'numplayers',
'password' => 'password',
],
]
|
# |
Properties inherited from GameQ\Protocol |
---|
$port_diff, $responses, $process_methods, $packets_response, $result, $options, $state, $join_link |