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