Jump to content


Photo

Documentation for Global Offensive seems confusing


  • Please log in to reply
1 reply to this topic

#1 ManiacLastoftheday

ManiacLastoftheday

    Newbie

  • Member
  • Pip
  • 2 posts

Posted 15 March 2019 - 09:10 PM

https://github.com/D...globaloffensive

 

At the start, you recommended

const SteamUser = require('steam-user');
const GlobalOffensive = require('globaloffensive');

let user = new SteamUser();
let csgo = new GlobalOffensive(user);

but under methods in the constructor, you said

var csgo = new GlobalOffensive(steamClient);

so which one are we expected to use?



#2 Dr. McKay

Dr. McKay

    Developer

  • Administrator
  • 2,140 posts

Posted 16 March 2019 - 07:43 AM

Whatever you named your SteamUser instance.






0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users