Advanced Sessions Plugin

[quote=“Kagerstones, post:2112, topic:30020”]

Hi, is it possible to send invite to friends (to become friends) in steam with Advanced Session?

No, and in general I think that isn’t supposed to be exposed since then applications have control over the friends of a player (Deleting / inviting automatically from the program).

The closest that the steam API provides that I can see is: “ActivateGameOverlayToUser” which brings up the steam overlay on the profile of the specified steamID.

Which has some utility options like:

"

  • “friendadd” - Opens the overlay in minimal mode prompting the user to add the target user as a friend.
  • “friendremove” - Opens the overlay in minimal mode prompting the user to remove the target friend.
  • “friendrequestaccept” - Opens the overlay in minimal mode prompting the user to accept an incoming friend invite.
  • “friendrequestignore” - Opens the overlay in minimal mode prompting the user to ignore an incoming friend invite"

Which generally do what you want, i’ll look into adding support for that specific function.

Edit

I added the node, I will upload it in a bit to the repositories, going to take a look at a few other functions while I am in the code again.
Preview below of it + what it does

https://i.imgur.com/uqOgnvA.png

Re-Edit

The repository has been updated with the inclusion, I have also ported it back as far as 4.18.
I won’t be compiling new pre-compiled binaries for it for a little bit though.

I also used the time to go and add a safety check verifying that the unique id being passed in to all of the steam functions is truly a steam ID, as some people have been doing some funky cross platform stuff.