extends |
Http |
---|
Grand Theft Auto Rage Protocol Class https://rage.mp/masterlist/ Result from this call should be a header + JSON response
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 /master/ HTTP/1.0\r\nHost: cdn.rage.mp\r\nAccept: */*\r\n\r\n"]
|
# |
protected
|
string
|
$transport = self::TRANSPORT_SSL
|
# |
protected
|
string
|
$protocol = 'gtar'
|
# |
protected
|
string
|
$name = 'gtar'
|
# |
protected
|
string
|
$name_long = "Grand Theft Auto Rage"
|
# |
protected
|
string
|
$realIp = null
|
# |
protected
|
|
$realPortQuery = null
|
# |
protected
|
array
|
$normalize = [
'general' => [
'dedicated' => 'dedicated',
'hostname' => 'hostname',
'mod' => 'mod',
'maxplayers' => 'maxplayers',
'numplayers' => 'numplayers',
],
]
|
# |
Properties inherited from GameQ\Protocol |
---|
$port_diff, $responses, $process_methods, $packets_response, $result, $options, $state, $join_link |