mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-01-12 06:38:01 +03:00
Merge pull request #129 from dblstallion/master
Added method to show friends invite overlay to Lobby class
This commit is contained in:
commit
aec8f756e8
@ -480,6 +480,14 @@ namespace Facepunch.Steamworks
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/// <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…
x
Reference in New Issue
Block a user