extends |
Steam |
|---|
Implements the query protocol for Counter-Strike 2 servers. Uses the Steam protocol to retrieve server information, player lists, and game statistics.
| Methods | ||
|---|---|---|
public
|
__construct(mixed $address = null, mixed $queryport = null)
|
# |
public
|
getNativeJoinURI(): string
|
# |
public
|
query_server(bool $getPlayers = true, bool $getRules = true): bool
|
# |
| Methods inherited from Clansuite\ServerQuery\ServerProtocols\Steam |
|---|
processPlayers(), query(), getProtocolName(), getVersion() |
| Properties | |||
|---|---|---|---|
public
|
string
|
$name = 'Counter-Strike 2'
|
# |
public
|
array<string>
|
$supportedGames = ['Counter-Strike 2']
|
# |
public
|
string
|
$protocol = 'A2S'
|
# |
public
|
array<string>
|
$game_series_list = ['Counter-Strike']
|
# |
protected
|
int
|
$port_diff = 0
|
# |
| Properties inherited from Clansuite\ServerQuery\ServerProtocols\Steam |
|---|
$playerFormat, $response |
| 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 |