extends |
CSQuery |
|---|---|
implements |
ProtocolInterface |
Steam protocol implementation.
| Methods | ||
|---|---|---|
public
|
__construct(?string $address = null, ?int $queryport = null)
|
# |
public
|
query_server(bool $getPlayers = true, bool $getRules = true): bool
|
# |
public
|
processPlayers(string $data, string $format, 8 $formatLength): null|false
|
# |
public
|
query(ServerAddress $addr): ServerInfo
|
# |
public
|
getProtocolName(): string
|
# |
public
|
getVersion(ServerInfo $info): string
|
# |
| Properties | |||
|---|---|---|---|
public
|
string
|
$name = 'Steam'
|
# |
public
|
array<string>
|
$supportedGames = [
'Steam',
'Counter-Strike: Global Offensive',
'Counter-Strike: Source',
'Team Fortress 2',
'Left 4 Dead 2',
'Garry\'s Mod',
'Half-Life 2: Deathmatch',
'Day of Defeat: Source',
'Zombie Panic! Source',
'Alien Swarm',
'Black Mesa',
'Blade Symphony',
'Ballistic Overkill',
'Battalion 1944',
'Barotrauma',
'Abiotic Factor',
'Avorion',
'Atlas',
'ARMA 2',
'Age of Chivalry',
'America\'s Army 3',
'America\'s Army: Proving Grounds',
'Aliens vs. Predator 2010',
'Base Defense',
'Contagion',
'Insurgency',
'Insurgency: Sandstorm',
'Homefront',
'Hurtworld',
'Killing Floor 2',
'Natural Selection',
'Monday Night Combat',
'No More Room in Hell',
'Nuclear Dawn',
'Perfect Dark',
'Portal 2',
'Rust',
'Serious Sam 3: BFE',
'Space Engineers',
'Squad',
'The Ship',
'Unturned',
'Vampire: The Masquerade - Bloodlines',
'Warframe',
'Worms Armageddon',
'ZPS',
]
|
# |
public
|
string
|
$protocol = 'A2S'
|
# |
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, $game_series_list, $debug, $udpClient |