Counter-Strike 2 data collected from its game-port A2S endpoint.
Extends
Properties
appId?
readonlyoptionalappId?:number
Steam App ID for modern Source-style Info responses. It comes from the 64-bit game ID when the server sends one, because the base Info field is 16 bits and truncates larger IDs.
Inherited from
bots
readonlybots:number
Inherited from
environment
readonlyenvironment:"linux"|"macos"|"windows"
Inherited from
folder
readonlyfolder:string
Game content directory, such as tf or garrysmod, which also identifies Source mods.
Inherited from
game
readonlygame:string
Game description advertised by the server, such as a mode, mission, or product name.
Inherited from
gamePort?
readonlyoptionalgamePort?:number
Game port the server advertises, which may differ from the queried Steam port.
Inherited from
players?
readonlyoptionalplayers?: readonlySteamA2sPlayer[]
Omitted when Player is skipped or unavailable; empty means the server confirmed no players.
Inherited from
serverSteamId?
readonlyoptionalserverSteamId?:string
Server's 64-bit Steam ID as decimal text, when advertised.
Inherited from
serverType
readonlyserverType:"dedicated"|"listen"|"proxy"
Inherited from
sourceTv?
readonlyoptionalsourceTv?:SourceTvEndpoint
SourceTV relay advertised by the server; never followed as a query destination.
Inherited from
tags?
readonlyoptionaltags?: readonlystring[]
Comma-delimited A2S Info keywords split in server order, when present.
Inherited from
vac
readonlyvac:boolean