Hello ,
Sorry for not getting back to you earlier, please see below in detail.
For the parameters of DownloadLeaderboardScores:
public enum LeaderBoardRequestType { GlobalData = Internal.ELeaderboardDataRequest.k_ELeaderboardDataRequestGlobal /* 0 */, GlobalDataAroundUser = Internal.ELeaderboardDataRequest.k_ELeaderboardDataRequestGlobalAroundUser /* 1 */, LocalData = Internal.ELeaderboardDataRequest.k_ELeaderboardDataRequestLocal /* 2 */, LocalDataAroundUser = Internal.ELeaderboardDataRequest.k_ELeaderboardDataRequestLocaleAroundUser /* 3 */, }
public enum LeaderBoardTimeRange { AllTime = Internal.ELeaderboardDataTimeRange.k_ELeaderboardDataScropeAllTime /* 0 */, Daily = Internal.ELeaderboardDataTimeRange.k_ELeaderboardDataScropeDaily /* 1 */, Weekly = Internal.ELeaderboardDataTimeRange.k_ELeaderboardDataScropeWeekly /* 2 */, Monthly = Internal.ELeaderboardDataTimeRange.k_ELeaderboardDataScropeMonthly /* 3 */, }
UserStats.DownloadLeaderboardScores(callback, leadername name, LeaderBoardRequestType, LeaderBoardTimeRange, start,end);
If LeaderBoardRequestType of downloading leaderboard is "GlobalData" , content will get the user ranking data anywhere in the world.
But if it is "LocalData", content will get the user ranking data depending on your location.
And you could also set the LeaderboardTimeRange as AllTime / Daily / Weekly / Monthly to get the user ranking during this period.
Please let me know if you still have further questions. Thanks.