Exemple #1
0
 public void DownloadLeaderboard(string leaderboardName, UserStats.LeaderBoardRequestType requestType, UserStats.LeaderBoardTimeRange timeRange, int rangeStart, int rangeEnd)
 {
     if (_userIsReady)
     {
         UserStats.DownloadLeaderboardScores(DownloadLeaderboardHandler, leaderboardName, requestType, timeRange, rangeStart, rangeEnd);
     }
 }
Exemple #2
0
 // Token: 0x060049BE RID: 18878 RVA: 0x0018AABC File Offset: 0x00188EBC
 public static int DownloadLeaderboardScores(StatusCallback callback, string pchLeaderboardName, UserStats.LeaderBoardRequestType eLeaderboardDataRequest, UserStats.LeaderBoardTimeRange eLeaderboardDataTimeRange, int nRangeStart, int nRangeEnd)
 {
     if (callback == null)
     {
         throw new InvalidOperationException("callback == null");
     }
     Viveport.Internal.StatusCallback statusCallback = new Viveport.Internal.StatusCallback(callback.Invoke);
     Api.InternalStatusCallbacks.Add(statusCallback);
     return(Viveport.Internal.UserStats.DownloadLeaderboardScores(statusCallback, pchLeaderboardName, (ELeaderboardDataRequest)eLeaderboardDataRequest, (ELeaderboardDataTimeRange)eLeaderboardDataTimeRange, nRangeStart, nRangeEnd));
 }
Exemple #3
0
 // Token: 0x06000EB9 RID: 3769 RVA: 0x0005DDD0 File Offset: 0x0005BFD0
 public static int DownloadLeaderboardScores(StatusCallback callback, string pchLeaderboardName, UserStats.LeaderBoardRequestType eLeaderboardDataRequest, UserStats.LeaderBoardTimeRange eLeaderboardDataTimeRange, int nRangeStart, int nRangeEnd)
 {
     if (callback == null)
     {
         throw new InvalidOperationException("callback == null");
     }
     UserStats.downloadLeaderboardScoresIl2cppCallback = new StatusCallback(callback.Invoke);
     Api.InternalStatusCallbacks.Add(new StatusCallback(UserStats.DownloadLeaderboardScoresIl2cppCallback));
     if (IntPtr.Size == 8)
     {
         return(UserStats.DownloadLeaderboardScores_64(new StatusCallback(UserStats.DownloadLeaderboardScoresIl2cppCallback), pchLeaderboardName, (ELeaderboardDataRequest)eLeaderboardDataRequest, (ELeaderboardDataTimeRange)eLeaderboardDataTimeRange, nRangeStart, nRangeEnd));
     }
     return(UserStats.DownloadLeaderboardScores(new StatusCallback(UserStats.DownloadLeaderboardScoresIl2cppCallback), pchLeaderboardName, (ELeaderboardDataRequest)eLeaderboardDataRequest, (ELeaderboardDataTimeRange)eLeaderboardDataTimeRange, nRangeStart, nRangeEnd));
 }