mirror of
https://github.com/Facepunch/Facepunch.Steamworks.git
synced 2025-01-12 22:58:01 +03:00
Overlay.OpenUserPage
This commit is contained in:
parent
8188372e3e
commit
83f328ad35
@ -25,16 +25,17 @@ namespace Facepunch.Steamworks
|
|||||||
{
|
{
|
||||||
internal Client client;
|
internal Client client;
|
||||||
|
|
||||||
public void OpenProfile( ulong steamid ) { client.native.friends.ActivateGameOverlayToUser( "steamid", steamid ); }
|
public void OpenUserPage( string name, ulong steamid ) { client.native.friends.ActivateGameOverlayToUser( name, steamid ); }
|
||||||
public void OpenChat( ulong steamid ){ client.native.friends.ActivateGameOverlayToUser( "chat", steamid ); }
|
|
||||||
public void OpenTrade( ulong steamid ) { client.native.friends.ActivateGameOverlayToUser( "jointrade", steamid ); }
|
|
||||||
public void OpenStats( ulong steamid ) { client.native.friends.ActivateGameOverlayToUser( "stats", steamid ); }
|
|
||||||
public void OpenAchievements( ulong steamid ) { client.native.friends.ActivateGameOverlayToUser( "achievements", steamid ); }
|
|
||||||
|
|
||||||
public void AddFriend( ulong steamid ) { client.native.friends.ActivateGameOverlayToUser( "friendadd", steamid ); }
|
public void OpenProfile( ulong steamid ) { OpenUserPage( "steamid", steamid ); }
|
||||||
public void RemoveFriend( ulong steamid ) { client.native.friends.ActivateGameOverlayToUser( "friendremove", steamid ); }
|
public void OpenChat( ulong steamid ){ OpenUserPage( "chat", steamid ); }
|
||||||
public void AcceptFriendRequest( ulong steamid ) { client.native.friends.ActivateGameOverlayToUser( "friendrequestaccept", steamid ); }
|
public void OpenTrade( ulong steamid ) { OpenUserPage( "jointrade", steamid ); }
|
||||||
public void IgnoreFriendRequest( ulong steamid ) { client.native.friends.ActivateGameOverlayToUser( "friendrequestignore", steamid ); }
|
public void OpenStats( ulong steamid ) { OpenUserPage( "stats", steamid ); }
|
||||||
|
public void OpenAchievements( ulong steamid ) { OpenUserPage( "achievements", steamid ); }
|
||||||
|
public void AddFriend( ulong steamid ) { OpenUserPage( "friendadd", steamid ); }
|
||||||
|
public void RemoveFriend( ulong steamid ) { OpenUserPage( "friendremove", steamid ); }
|
||||||
|
public void AcceptFriendRequest( ulong steamid ) { OpenUserPage( "friendrequestaccept", steamid ); }
|
||||||
|
public void IgnoreFriendRequest( ulong steamid ) { OpenUserPage( "friendrequestignore", steamid ); }
|
||||||
|
|
||||||
public void OpenUrl( string url ) { client.native.friends.ActivateGameOverlayToWebPage( url ); }
|
public void OpenUrl( string url ) { client.native.friends.ActivateGameOverlayToWebPage( url ); }
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user