Guest Ino Posted January 3, 2019 Report Posted January 3, 2019 Hi, how can i create a new proto for my method ?For example i need to use method FriendsList.GetFriendsList#1I useclient._sendUnified("FriendsList.GetFriendsList#1", { bConstMethod: !0 }, body => { console.log(body) })But i get the error "Cannot read property 'encode' of undefined". What i need to do for using my methods through steam-user ? Quote
Dr. McKay Posted January 4, 2019 Report Posted January 4, 2019 You would need to add support directly to steam-user by editing it. You can't just call underscore-prefixed methods from outside of the module and expect things to work. Take a look at the commit history to see what it takes to add support for a new message. Why do you want to use this, anyway? You can already get your friends list from steam-user. Quote
Guest Ino Posted January 5, 2019 Report Posted January 5, 2019 You would need to add support directly to steam-user by editing it. You can't just call underscore-prefixed methods from outside of the module and expect things to work. Take a look at the commit history to see what it takes to add support for a new message. Why do you want to use this, anyway? You can already get your friends list from steam-user.Because i need to do it in 1 request , and get all statuses including snooze/away etc. Quote
Dr. McKay Posted January 5, 2019 Report Posted January 5, 2019 All of that data is already available. As long as you're set to online, myFriends contains the list of who all your friends are, and users contains their profile data, updated in real-time. Quote
Recommended Posts
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.