diff --git a/Facepunch.Steamworks/Client/Lobby.cs b/Facepunch.Steamworks/Client/Lobby.cs index bcf8afe..df9c0a5 100644 --- a/Facepunch.Steamworks/Client/Lobby.cs +++ b/Facepunch.Steamworks/Client/Lobby.cs @@ -480,6 +480,14 @@ internal void OnUserInvitedToLobbyAPI( LobbyInvite_t callback ) } + /// + /// Activates the steam overlay to invite friends to the CurrentLobby the user is in. + /// + public void OpenFriendInviteOverlay() + { + client.native.friends.ActivateGameOverlayInviteDialog(CurrentLobby); + } + /// /// Called when a user invites the current user to a lobby. The first parameter is the lobby the user was invited to, the second is the CSteamID of the person who invited this user ///