Scores
class Scores extends Resource (View source)
The "scores" collection of methods.
Typical usage is:
$gamesManagementService = new Google\Service\GamesManagement(...);
$scores = $gamesManagementService->scores;
Methods
Resets scores for the leaderboard with the given ID for the currently authenticated player. This method is only accessible to whitelisted tester accounts for your application. (scores.reset)
Resets all scores for all leaderboards for the currently authenticated players. This method is only accessible to whitelisted tester accounts for your application. (scores.resetAll)
Resets scores for all draft leaderboards for all players. This method is only available to user accounts for your developer console.
Resets scores for the leaderboard with the given ID for all players. This method is only available to user accounts for your developer console. Only draft leaderboards can be reset. (scores.resetForAllPlayers)
Resets scores for the leaderboards with the given IDs for all players. This method is only available to user accounts for your developer console. Only draft leaderboards may be reset. (scores.resetMultipleForAllPlayers)
Details
PlayerScoreResetResponse
reset(string $leaderboardId, array $optParams = [])
Resets scores for the leaderboard with the given ID for the currently authenticated player. This method is only accessible to whitelisted tester accounts for your application. (scores.reset)
PlayerScoreResetAllResponse
resetAll(array $optParams = [])
Resets all scores for all leaderboards for the currently authenticated players. This method is only accessible to whitelisted tester accounts for your application. (scores.resetAll)
resetAllForAllPlayers(array $optParams = [])
Resets scores for all draft leaderboards for all players. This method is only available to user accounts for your developer console.
(scores.resetAllForAllPlayers)
resetForAllPlayers(string $leaderboardId, array $optParams = [])
Resets scores for the leaderboard with the given ID for all players. This method is only available to user accounts for your developer console. Only draft leaderboards can be reset. (scores.resetForAllPlayers)
resetMultipleForAllPlayers(ScoresResetMultipleForAllRequest $postBody, array $optParams = [])
Resets scores for the leaderboards with the given IDs for all players. This method is only available to user accounts for your developer console. Only draft leaderboards may be reset. (scores.resetMultipleForAllPlayers)