extends |
Http |
---|
Epic Online Services Protocol Class Serves as a base class for EOS-powered games.
Methods | ||
---|---|---|
public
|
processResponse(): array
|
# |
public
|
beforeSend(Server $server)
|
# |
protected
|
authenticate(): string|null
|
# |
protected
|
queryServers(string $auth_token): array|null
|
# |
protected
|
deviceAuthentication(): array|null
|
# |
protected
|
httpRequest(string $url, array $headers, string $postfields): array|null
|
# |
protected
|
getAttribute(array $attributes, string $key, mixed $default = null): mixed
|
# |
Methods inherited from GameQ\Protocol |
---|
__construct(), __toString(), portDiff(), findQueryPort(), joinLink(), name(), nameLong(), state(), getProtocol(), transport(), options(), getPacket(), packetResponse(), hasChallenge(), challengeParseAndApply(), challengeApply(), getNormalize(), |
Properties | |||
---|---|---|---|
protected
|
string
|
$protocol = 'eos'
|
# |
protected
|
string
|
$name_long = 'Epic Online Services'
|
# |
protected
|
string
|
$name = 'eos'
|
# |
protected
|
string
|
$grant_type = 'client_credentials'
|
# |
protected
|
string
|
$deployment_id = null
|
# |
protected
|
string
|
$user_id = null
|
# |
protected
|
string
|
$user_secret = null
|
# |
protected
|
string
|
$serverIp = null
|
# |
protected
|
string
|
$serverPortQuery = null
|
# |
protected
|
array
|
$normalize = [
'general' => [
'hostname' => 'hostname',
'mapname' => 'mapname',
'maxplayers' => 'maxplayers',
'numplayers' => 'numplayers',
'password' => 'password',
],
]
|
# |
Properties inherited from GameQ\Protocols\Http |
---|
$transport |
Properties inherited from GameQ\Protocol |
---|
$port_diff, $packets, $responses, $process_methods, $packets_response, $result, $options, $state, $join_link |