Merge pull request #121 from MadDave666/master

added client.Overlay.Enabled property (tells you whether the overlay …
This commit is contained in:
Garry Newman 2018-02-13 19:10:29 +00:00 committed by GitHub
commit c4f33a1d3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 ); }