extends |
CSQuery |
|---|---|
implements |
ProtocolInterface |
BeamMP protocol implementation. Uses BeamMP backend API to lookup servers by address.
| Methods | ||
|---|---|---|
public
|
__construct(?string $address = null, ?int $queryport = null)
|
# |
public
|
query(ServerAddress $addr): ServerInfo
|
# |
public
|
query_server(bool $getPlayers = true, bool $getRules = true): bool
|
# |
public
|
getProtocolName(): string
|
# |
public
|
getVersion(ServerInfo $info): string
|
# |
protected
|
parseServerEntry(array<string, mixed> $found): void
|
# |
| Properties | |||
|---|---|---|---|
public
|
string
|
$name = 'BeamMP'
|
# |
public
|
array
|
$supportedGames = ['BeamMP', 'BeamNG.drive']
|
# |
public
|
string
|
$protocol = 'beammp'
|
# |
| 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, $game_series_list, $debug, $udpClient |