Best approach for resetting daily leaderboard

0 votes
Hi, I have a daily leaderboard in my game and it needs to be reset every day. So what's the best approch for doing it? 1. Delete all user scores or set all user scores to -1. I couldn't find API for deleting all scores or setting all scores to a specific number. 2. Delete the entire game and recreate a new game. I can do it in the dashboard but I couldn't find the API for doing it programmtically.
asked Apr 19, 2017 in C# by douyangyang (10 points)

1 Answer

0 votes
Hi,

You can use editScore API from the client side which can be triggered with latest score. It will modify the existing score for the user.

Please let me know if you have any further queries, I will be happy to help you.

Thanks.
answered Apr 20, 2017 by rajeev.etc (1,660 points)
Do you mean scoreBoardService.EditScoreValueById() ?

But this method can only update one user's score, not all users. I feel it's impossible to call this method 10000 times if there are 10000 user scores in the score board.
Is there an API that can edit all users' score?
Effective way to edit all user's scores
Download Widgets
Welcome to ShepHertz Product line forum, where you can ask questions and receive answers from the community. You can also reach out to us on support@shephertz.com
...