mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2024-12-25 14:15:47 +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 @@ public class Overlay
|
|||||||
{
|
{
|
||||||
internal Client client;
|
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 OpenUserPage( string name, ulong steamid ) { client.native.friends.ActivateGameOverlayToUser( name, steamid ); }
|
||||||
|
|
||||||
public void OpenProfile( ulong steamid ) { OpenUserPage( "steamid", steamid ); }
|
public void OpenProfile( ulong steamid ) { OpenUserPage( "steamid", steamid ); }
|
||||||
|
Loading…
Reference in New Issue
Block a user