extends |
CSQuery |
|---|---|
implements |
ProtocolInterface |
Farming Simulator server protocol implementation. Farming Simulator uses HTTP API with XML response. Requires a token from the server settings page.
| Methods | ||
|---|---|---|
public
|
__construct(mixed $address = null, mixed $queryport = null)
|
# |
public
|
query(ServerAddress $addr): ServerInfo
|
# |
public
|
getProtocolName(): string
|
# |
public
|
getVersion(ServerInfo $info): string
|
# |
public
|
query_server(bool $getPlayers = true, bool $getRules = true): bool
|
# |
| Properties | |||
|---|---|---|---|
public
|
string
|
$name = 'FarmingSimulator'
|
# |
public
|
string
|
$protocol = 'farmingsimulator'
|
# |
| 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, $supportedGames, $game_series_list, $debug, $udpClient |