mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-25 06:05:46 +03:00
Added method to show friends invite overlay to Lobby class
This commit is contained in:
parent
72ef9015b3
commit
6b5f8f7481
@ -480,6 +480,14 @@ internal void OnUserInvitedToLobbyAPI( LobbyInvite_t callback )
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <summary>
|
||||||
|
/// Activates the steam overlay to invite friends to the CurrentLobby the user is in.
|
||||||
|
/// </summary>
|
||||||
|
public void OpenFriendInviteOverlay()
|
||||||
|
{
|
||||||
|
client.native.friends.ActivateGameOverlayInviteDialog(CurrentLobby);
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// 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
|
/// 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
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
Loading…
Reference in New Issue
Block a user