Does LeaderboardService.RemovePlayerScore revert rewards?
-
Hello,
I'm working on a system to purge tournament records of fraudulent players.
If I call LeaderboardService.RemovePlayerScore to wipe a player's entry, does the service also handle the reversal of rewards (or update their reward status) linked to that specific score? Or do I need to manually handle the reward adjustment?
Thank you in advance!
-
No,
RemovePlayerScore()does NOT handle reward reversals. You need to handle that manually. Also note that if the leaderboard is configured for a tournament, it will throw an exception and refuse to remove the score. CallLeaveTournament()for a tournament-based leaderboard, but it does not reverse rewards either. -
Thanks for the clarification.
Just to be sure: if an abusive score has already been accumulated, is there no way to exclude that user from the reward table and dynamically recalculate the rewards for others? i.e., Can we not adjust the rewards distributed through the Claim API retroactively?