extends |
CSQuery |
|---|---|
implements |
ProtocolInterface |
Battlefield 4 Server Query Class.
| Methods | ||
|---|---|---|
public
|
__construct(?string $address = null, ?int $queryport = null)
|
# |
public
|
getNativeJoinURI(): string
|
# |
public
|
query_server(bool $getPlayers = true, bool $getRules = true): bool
|
# |
public
|
parseCaptured(string $data): array<string, mixed>
|
# |
public
|
query(ServerAddress $addr): ServerInfo
|
# |
public
|
getProtocolName(): string
|
# |
public
|
getVersion(ServerInfo $info): string
|
# |
| Properties | |||
|---|---|---|---|
public
|
?string
|
$gameHost = null
|
# |
public
|
?int
|
$gamePort = null
|
# |
public
|
string
|
$name = 'Battlefield 4'
|
# |
public
|
string
|
$protocol = 'Battlefield4'
|
# |
public
|
array
|
$game_series_list = ['Battlefield']
|
# |
public
|
array
|
$supportedGames = ['Battlefield 4']
|
# |
protected
|
int
|
$port_diff = 22000
|
# |
| Properties inherited from Clansuite\ServerQuery\CSQuery |
|---|
$address, $queryport, $hostport, $online, $gamename, $gameversion, $servertitle, $mapname, $maptitle, $gametype, $numplayers, $maxplayers, $steamAppID, $password, $nextmap, $players, $playerkeys, $playerteams, $maplist, $rules, $errstr, $response, $debug, $udpClient |