public void getLeaderboradEntriesForUser(ulong leaderboardId, HttpResponseHandler <GetLeaderboardEntriesResult> responseHandler) { GetLeaderboardEntriesParams baseParams = new GetLeaderboardEntriesParams(); baseParams.leaderboardid = leaderboardId; baseParams.steamid = SteamUser.GetSteamID().m_SteamID; baseParams.datarequest = "RequestAroundUser"; getLeaderboardEntries(baseParams, responseHandler); }
public void getLeaderboradEntriesForGlobal(ulong leaderboardId, int rangestart, int rangeend, HttpResponseHandler <GetLeaderboardEntriesResult> responseHandler) { GetLeaderboardEntriesParams baseParams = new GetLeaderboardEntriesParams(); baseParams.leaderboardid = leaderboardId; baseParams.datarequest = "RequestGlobal"; baseParams.rangestart = rangestart; baseParams.rangeend = rangeend; getLeaderboardEntries(baseParams, responseHandler); }
public void getLeaderboardEntries(GetLeaderboardEntriesParams baseParams, HttpResponseHandler <GetLeaderboardEntriesResult> responseHandler) { baseParams.key = CommonInfo.Steam_Key_All; baseParams.appid = CommonInfo.Steam_App_Id; requestGet("ISteamLeaderboards/GetLeaderboardEntries/v1", baseParams, responseHandler); }