The "quests" collection of methods.
More...
|
| accept ($questId, $optParams=array()) |
| Indicates that the currently authorized user will participate in the quest.
|
|
| call ($name, $arguments, $expected_class=null) |
| TODO: This function needs simplifying.
|
|
| listQuests ($playerId, $optParams=array()) |
| Get a list of quests for your application and the currently authenticated player.
|
|
|
| convertToArrayAndStripNulls ($o) |
|
The "quests" collection of methods.
Typical usage is: $gamesService = new Google_Service_Games(...); $quests = $gamesService->quests;
◆ accept()
Google_Service_Games_Quests_Resource::accept |
( |
| $questId, |
|
|
| $optParams = array() ) |
Indicates that the currently authorized user will participate in the quest.
(quests.accept)
- Parameters
-
string | $questId | The ID of the quest. |
array | $optParams | Optional parameters. |
@opt_param string language The preferred language to use for strings returned by this method.
- Return values
-
◆ 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
-
◆ listQuests()
Google_Service_Games_Quests_Resource::listQuests |
( |
| $playerId, |
|
|
| $optParams = array() ) |
Get a list of quests for your application and the currently authenticated player.
(quests.listQuests)
- Parameters
-
string | $playerId | A player ID. A value of me may be used in place of the authenticated player's ID. |
array | $optParams | Optional parameters. |
@opt_param string pageToken The token returned by the previous request. @opt_param int maxResults The maximum number of quest resources to return in the response, used for paging. For any response, the actual number of quest resources returned may be less than the specified maxResults. Acceptable values are 1 to 50, inclusive. (Default: 50). @opt_param string language The preferred language to use for strings returned by this method.
- Return values
-
The documentation for this class was generated from the following file:
- lib/google/src/Google/Service/Games.php