uspgamedev / luasteam

Bindings to connect lua with Steam API
https://luasteam.readthedocs.io/en/stable/
MIT License
129 stars 23 forks source link

Game invite functionality #29

Closed Introvertigo closed 8 months ago

Introvertigo commented 1 year ago

Hi there, would it be possible to add the Invite To Game feature that can be used in the Friends overlay to invite a friend to a game? As far as I understood, there are three functions and one callback that would enable this in Luasteam.

functions: ActivateGameOverlayInviteDialog (https://partner.steamgames.com/doc/api/ISteamFriends#ActivateGameOverlayInviteDialog) InviteUserToGame (https://partner.steamgames.com/doc/api/ISteamFriends#InviteUserToGame) GetLaunchCommandLine (https://partner.steamgames.com/doc/api/ISteamApps#GetLaunchCommandLine)

callbacks: GameRichPresenceJoinRequested_t (https://partner.steamgames.com/doc/api/ISteamFriends#GameRichPresenceJoinRequested_t)

zorfmorf commented 12 months ago

I will try to add it!

yancouto commented 8 months ago

This is done, thanks @hylje !