/// <summary>
 /// <para> Uploads a user score to the Steam back-end.</para>
 /// <para> This call is asynchronous, with the result returned in LeaderboardScoreUploaded</para>
 /// <para> Details are extra game-defined information regarding how the user got that score</para>
 /// <para> pScoreDetails points to an array of int32's, cScoreDetailsCount is the number of int32's in the list</para>
 /// </summary>
 public static SteamAPICall UploadLeaderboardScore(SteamLeaderboard hSteamLeaderboard, ELeaderboardUploadScoreMethod eLeaderboardUploadScoreMethod, int nScore, int[] pScoreDetails, int cScoreDetailsCount)
 {
     InteropHelp.TestIfAvailableClient();
     return((SteamAPICall)NativeMethods.ISteamUserStats_UploadLeaderboardScore(hSteamLeaderboard, eLeaderboardUploadScoreMethod, nScore, pScoreDetails, cScoreDetailsCount));
 }
 /// <summary>
 /// <para> Attaches a piece of user generated content the user's entry on a leaderboard.</para>
 /// <para> hContent is a handle to a piece of user generated content that was shared using ISteamUserRemoteStorage::FileShare().</para>
 /// <para> This call is asynchronous, with the result returned in LeaderboardUGCSet.</para>
 /// </summary>
 public static SteamAPICall AttachLeaderboardUGC(SteamLeaderboard hSteamLeaderboard, UGCHandle hUGC)
 {
     InteropHelp.TestIfAvailableClient();
     return((SteamAPICall)NativeMethods.ISteamUserStats_AttachLeaderboardUGC(hSteamLeaderboard, hUGC));
 }
 /// <summary>
 /// <para> as above, but downloads leaderboard entries for an arbitrary set of users - ELeaderboardDataRequest is ELeaderboardDataRequestUsers</para>
 /// <para> if a user doesn't have a leaderboard entry, they won't be included in the result</para>
 /// <para> a max of 100 users can be downloaded at a time, with only one outstanding call at a time</para>
 /// </summary>
 public static SteamAPICall DownloadLeaderboardEntriesForUsers(SteamLeaderboard hSteamLeaderboard, SteamId[] prgUsers, int cUsers)
 {
     InteropHelp.TestIfAvailableClient();
     return((SteamAPICall)NativeMethods.ISteamUserStats_DownloadLeaderboardEntriesForUsers(hSteamLeaderboard, prgUsers, cUsers));
 }
 /// <summary>
 /// <para> Asks the Steam back-end for a set of rows in the leaderboard.</para>
 /// <para> This call is asynchronous, with the result returned in LeaderboardScoresDownloaded</para>
 /// <para> LeaderboardScoresDownloaded will contain a handle to pull the results from GetDownloadedLeaderboardEntries() (below)</para>
 /// <para> You can ask for more entries than exist, and it will return as many as do exist.</para>
 /// <para> ELeaderboardDataRequestGlobal requests rows in the leaderboard from the full table, with nRangeStart &amp; nRangeEnd in the range [1, TotalEntries]</para>
 /// <para> ELeaderboardDataRequestGlobalAroundUser requests rows around the current user, nRangeStart being negate</para>
 /// <para>   e.g. DownloadLeaderboardEntries( hLeaderboard, ELeaderboardDataRequestGlobalAroundUser, -3, 3 ) will return 7 rows, 3 before the user, 3 after</para>
 /// <para> ELeaderboardDataRequestFriends requests all the rows for friends of the current user</para>
 /// </summary>
 public static SteamAPICall DownloadLeaderboardEntries(SteamLeaderboard hSteamLeaderboard, ELeaderboardDataRequest eLeaderboardDataRequest, int nRangeStart, int nRangeEnd)
 {
     InteropHelp.TestIfAvailableClient();
     return((SteamAPICall)NativeMethods.ISteamUserStats_DownloadLeaderboardEntries(hSteamLeaderboard, eLeaderboardDataRequest, nRangeStart, nRangeEnd));
 }
 /// <summary>
 /// <para> returns the display type of the leaderboard</para>
 /// </summary>
 public static ELeaderboardDisplayType GetLeaderboardDisplayType(SteamLeaderboard hSteamLeaderboard)
 {
     InteropHelp.TestIfAvailableClient();
     return(NativeMethods.ISteamUserStats_GetLeaderboardDisplayType(hSteamLeaderboard));
 }
 /// <summary>
 /// <para> returns the total number of entries in a leaderboard, as of the last request</para>
 /// </summary>
 public static int GetLeaderboardEntryCount(SteamLeaderboard hSteamLeaderboard)
 {
     InteropHelp.TestIfAvailableClient();
     return(NativeMethods.ISteamUserStats_GetLeaderboardEntryCount(hSteamLeaderboard));
 }
 /// <summary>
 /// <para> returns the name of a leaderboard</para>
 /// </summary>
 public static string GetLeaderboardName(SteamLeaderboard hSteamLeaderboard)
 {
     InteropHelp.TestIfAvailableClient();
     return(InteropHelp.PtrToStringUTF8(NativeMethods.ISteamUserStats_GetLeaderboardName(hSteamLeaderboard)));
 }