Jump to content
McKay Development
mtn

SteamGameCoordinator with node-steam-user?

Recommended Posts

You can just create a SteamGameCoordinator handler and pass the steam-client to it.

i tried it so :


Client     = new CMClient(),
GC         = new SteamGC(client, 730);


Edited by mtn

Share this post


Link to post
Share on other sites

Sorry for bumping an old thread.

I read in your node-steam-client docs that you can just register handlers from node-steam etc.

I need to use their SteamGameCoordinator handler with node-user.

Is there somewhere with a more elaborate example?

Would something like this work?

let Steam = require('steam'),
   SteamUser = require('steam-user');


let sUser = new SteamUser();
let steamGC = new Steam.SteamGameCoordinator(sUser.client, 440);

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...