

The whole response ended up being too big for the readme and caused browsers to crash. matchList (Response to requestRecentGames) playerProfile (Response to playerProfileRequest)Įmitted when the game coordinator responds to the playerProfileRequest method. requestWatchInfoFriends ( Įmitted when the game coordinator responds to the matchmakingStatsRequest method. Listen for the matchList event for the game coordinator's response. Requests info about game given a matchId, outcomeId, and token for a game (Tip: These can be found with the Sharecode decoder). requestGame(string matchid, string outcomeid, int token)

Requests current live game info for given user.

Requests a list of recent games for the currently logged in account. Requires the GC to be ready (listen for the ready event before calling). Listen for the matchmakingStatsData event for the game coordinator's response. Sends a message to the Game Coordinator requesting some matchmaking stats. Ex: (1) = "Recruit" Matches matchmakingStatsRequest() Ex: (1) = "Silver I" Level.getString(int player_level)Ĭonverts an integer player_level to a string. Rank.getString(int rank_id)Ĭonverts an integer rank_id to a string. ToSteamID(accountId)Ĭonverts an account ID to a 64 bit steam ID. ToAccountID(steamId)Ĭonverts a 64 bit steam ID to an account ID. Tells Steam that you are not playing CS:GO. Reports to Steam that you're playing Counter-Strike: Global Offensive, and then initiates communication with the Game Coordinator. CSGOClient ( steamUser, steamGC, false ) MethodsĪll methods require the SteamClient instance to be logged on. SteamGameCoordinator ( steamClient, 730 ), csgo = require ( 'csgo' ), CSGO = new csgo. SteamUser ( steamClient ), steamGC = new Steam. Var Steam = require ( 'steam' ), steamClient = new Steam.
