mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-01-23 20:17:58 +03:00
added client.Overlay.Enabled property (tells you whether the overlay is actually available)
This commit is contained in:
parent
9a9a310b5f
commit
e88535ac57
@ -25,6 +25,11 @@ namespace Facepunch.Steamworks
|
||||
{
|
||||
internal Client client;
|
||||
|
||||
public bool Enabled
|
||||
{
|
||||
get { return client.native.utils.IsOverlayEnabled(); }
|
||||
}
|
||||
|
||||
public void OpenUserPage( string name, ulong steamid ) { client.native.friends.ActivateGameOverlayToUser( name, steamid ); }
|
||||
|
||||
public void OpenProfile( ulong steamid ) { OpenUserPage( "steamid", steamid ); }
|
||||
|
Loading…
x
Reference in New Issue
Block a user