How to retrieve and iterate through steam friends
So, I'd like to retrieve the steam friends of a user. I'm using GameSparks for session handling and only integrated steam so users can authenticate with it. Oddly, GameSparks only stores avatars of friends who haven't played the game yet. You apparantly can only retrieve the user name through a GS ListGameFriends request. So I'll probably have to retrieve all steam friends, filter those who have already played the game and then retrieve the avatar through the steam api.... (if you know a better way, please tell me).
However, I haven't found a function to actually get all friends of a user. ISteamUser is supposed to have a getFriendList function, but it's not showing up for SteamUser(). SteamFriends() also don't have a fitting function (there's only one where you can count friends, but it needs an iterator I cannot create).
Thanks in advance.
asked May 31 '18 at 06:41 PM in C++ Programming
So after some more research (the steam api docs are huge) I found a solution. I was actually on the right way. Here's my code:
answered Jun 01 '18 at 09:44 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here