iurii_playsnak Posted February 8, 2018 Share Posted February 8, 2018 Hello people, Does anyone know what is the difference between Local and Global data when reading from leaderboard? Also, how Daily, Weekly and Monthly works? Thanks. Link to comment Share on other sites More sharing options...
AndyCoplanar Posted June 13, 2019 Share Posted June 13, 2019 I would also like to know the difference between global and local Link to comment Share on other sites More sharing options...
yakingkuo Posted June 19, 2019 Share Posted June 19, 2019 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 More sharing options...
AndyCoplanar Posted June 19, 2019 Share Posted June 19, 2019 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 More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.