Jump to content
Happy Holidays! Limited Staff Responses: 1/20 - 1/31 ×

Leaderboards. Local vs. Global? Daily, Weekly, Monthly? How does it work?


Recommended Posts

  • 1 year later...

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.

 

 

 

Link to comment
Share on other sites

Thank you for the response.  I'd still like to know more specifics.  Like what are the regions that local scores are shown by?  I.e. are scores for all of Europe grouped together?  Or just per country? Etc.

 

Also, regarding the weekly, daily and monthly leaderboards, when do these reset?  I.e. what time of day does the daily board reset?  Is it the same time everywhere, or does it depend on timezones?   What day of the week does the weekly board reset?

 

My apologies if there is documentation I have missed that describes this

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...