extends |
CSQuery |
|---|
Queries a Counter Strike 1.6 server. This class works with Counter Strike 1.6 (based on Half-Life engine).
| Methods | ||
|---|---|---|
public
|
__construct(mixed $address, mixed $queryport)
|
# |
public
|
query_server(bool $getPlayers = true, bool $getRules = true): bool
|
# |
public
|
rcon_query_server(string $command, string $rcon_pwd): false|string
|
# |
| Properties | |||
|---|---|---|---|
public
|
string
|
$name = 'Counter Strike 1.6'
|
# |
public
|
string
|
$protocol = 'CounterStrike16'
|
# |
public
|
array<string>
|
$game_series_list = ['Counter-Strike']
|
# |
public
|
array<string>
|
$supportedGames = ['Counter Strike 1.6']
|
# |
public
|
string
|
$playerFormat = '/sscore/x2/ftime'
|
# |
public
|
float
|
$response = 0.0
|
# |
| 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, $debug, $udpClient |