Moodle PHP Documentation 4.4
Moodle 4.4.1 (Build: 20240610) (db07c09afc5)
Google_Service_GamesManagement_Quests_Resource Class Reference

The "quests" collection of methods. More...

Inheritance diagram for Google_Service_GamesManagement_Quests_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 reset ($questId, $optParams=array())
 Resets all player progress on the quest with the given ID for the currently authenticated player.
 
 resetAll ($optParams=array())
 Resets all player progress on all quests for the currently authenticated player.
 
 resetAllForAllPlayers ($optParams=array())
 Resets all draft quests for all players.
 
 resetForAllPlayers ($questId, $optParams=array())
 Resets all player progress on the quest with the given ID for all players.
 
 resetMultipleForAllPlayers (Google_Service_GamesManagement_QuestsResetMultipleForAllRequest $postBody, $optParams=array())
 Resets quests with the given IDs for all players.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "quests" collection of methods.

Typical usage is: $gamesManagementService = new Google_Service_GamesManagement(...); $quests = $gamesManagementService->quests;

Member Function Documentation

◆ 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
Google_Exception

◆ reset()

Google_Service_GamesManagement_Quests_Resource::reset ( $questId,
$optParams = array() )

Resets all player progress on the quest with the given ID for the currently authenticated player.

This method is only accessible to whitelisted tester accounts for your application. (quests.reset)

Parameters
string$questIdThe ID of the quest.
array$optParamsOptional parameters.

◆ resetAll()

Google_Service_GamesManagement_Quests_Resource::resetAll ( $optParams = array())

Resets all player progress on all quests for the currently authenticated player.

This method is only accessible to whitelisted tester accounts for your application. (quests.resetAll)

Parameters
array$optParamsOptional parameters.

◆ resetAllForAllPlayers()

Google_Service_GamesManagement_Quests_Resource::resetAllForAllPlayers ( $optParams = array())

Resets all draft quests for all players.

This method is only available to user accounts for your developer console. (quests.resetAllForAllPlayers)

Parameters
array$optParamsOptional parameters.

◆ resetForAllPlayers()

Google_Service_GamesManagement_Quests_Resource::resetForAllPlayers ( $questId,
$optParams = array() )

Resets all player progress on the quest with the given ID for all players.

This method is only available to user accounts for your developer console. Only draft quests can be reset. (quests.resetForAllPlayers)

Parameters
string$questIdThe ID of the quest.
array$optParamsOptional parameters.

◆ resetMultipleForAllPlayers()

Google_Service_GamesManagement_Quests_Resource::resetMultipleForAllPlayers ( Google_Service_GamesManagement_QuestsResetMultipleForAllRequest $postBody,
$optParams = array() )

Resets quests with the given IDs for all players.

This method is only available to user accounts for your developer console. Only draft quests may be reset. (quests.resetMultipleForAllPlayers)

Parameters
Google_QuestsResetMultipleForAllRequest$postBody
array$optParamsOptional parameters.

The documentation for this class was generated from the following file: