The "achievements" collection of methods.
More...
|
| convertToArrayAndStripNulls ($o) |
|
The "achievements" collection of methods.
Typical usage is: $gamesManagementService = new Google_Service_GamesManagement(...); $achievements = $gamesManagementService->achievements;
◆ call()
Google_Service_Resource::call |
( |
| $name, |
|
|
| $arguments, |
|
|
| $expected_class = null ) |
|
inherited |
TODO: This function needs simplifying.
- Parameters
-
$name | |
$arguments | |
$expected_class | - optional, the expected class name |
- Return values
-
Google_Http_Request|expected_class | |
- Exceptions
-
◆ reset()
Google_Service_GamesManagement_Achievements_Resource::reset |
( |
| $achievementId, |
|
|
| $optParams = array() ) |
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)
- Parameters
-
string | $achievementId | The ID of the achievement used by this method. |
array | $optParams | Optional parameters. |
- Return values
-
◆ resetAll()
Google_Service_GamesManagement_Achievements_Resource::resetAll |
( |
| $optParams = array() | ) |
|
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)
- Parameters
-
array | $optParams | Optional parameters. |
- Return values
-
◆ resetAllForAllPlayers()
Google_Service_GamesManagement_Achievements_Resource::resetAllForAllPlayers |
( |
| $optParams = array() | ) |
|
Resets all draft achievements for all players.
This method is only available to user accounts for your developer console. (achievements.resetAllForAllPlayers)
- Parameters
-
array | $optParams | Optional parameters. |
◆ resetForAllPlayers()
Google_Service_GamesManagement_Achievements_Resource::resetForAllPlayers |
( |
| $achievementId, |
|
|
| $optParams = array() ) |
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)
- Parameters
-
string | $achievementId | The ID of the achievement used by this method. |
array | $optParams | Optional parameters. |
◆ resetMultipleForAllPlayers()
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)
- Parameters
-
Google_AchievementResetMultipleForAllRequest | $postBody | |
array | $optParams | Optional parameters. |
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/GamesManagement.php