extends |
Http |
---|
ECO Global Survival Protocol Class
Methods | ||
---|---|---|
public
|
processResponse(): array
|
# |
Properties | |||
---|---|---|---|
protected
|
array
|
$packets = [self::PACKET_STATUS => "GET /frontpage HTTP/1.0\r\nAccept: */*\r\n\r\n"]
|
# |
protected
|
string
|
$transport = self::TRANSPORT_TCP
|
# |
protected
|
string
|
$protocol = 'eco'
|
# |
protected
|
string
|
$name = 'eco'
|
# |
protected
|
string
|
$name_long = "ECO Global Survival"
|
# |
protected
|
int
|
$port_diff = 1
|
# |
protected
|
array
|
$normalize = [
'general' => [
'dedicated' => 'dedicated',
'hostname' => 'description',
'maxplayers' => 'totalplayers',
'numplayers' => 'onlineplayers',
'password' => 'haspassword',
],
]
|
# |
Properties inherited from GameQ\Protocol |
---|
$responses, $process_methods, $packets_response, $result, $options, $state, $join_link |