Moodle PHP Documentation 4.3
Moodle 4.3.5 (Build: 20240610) (7dcfaa79f78)
Google_Service_Games_QuestMilestones_Resource Class Reference

The "questMilestones" collection of methods. More...

Inheritance diagram for Google_Service_Games_QuestMilestones_Resource:
Google_Service_Resource

Public Member Functions

 call ($name, $arguments, $expected_class=null)
 TODO: This function needs simplifying.
 
 claim ($questId, $milestoneId, $requestId, $optParams=array())
 Report that a reward for the milestone corresponding to milestoneId for the quest corresponding to questId has been claimed by the currently authorized user.
 

Protected Member Functions

 convertToArrayAndStripNulls ($o)
 

Detailed Description

The "questMilestones" collection of methods.

Typical usage is: $gamesService = new Google_Service_Games(...); $questMilestones = $gamesService->questMilestones;

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

◆ claim()

Google_Service_Games_QuestMilestones_Resource::claim ( $questId,
$milestoneId,
$requestId,
$optParams = array() )

Report that a reward for the milestone corresponding to milestoneId for the quest corresponding to questId has been claimed by the currently authorized user.

(questMilestones.claim)

Parameters
string$questIdThe ID of the quest.
string$milestoneIdThe ID of the milestone.
string$requestIdA numeric ID to ensure that the request is handled correctly across retries. Your client application must generate this ID randomly.
array$optParamsOptional parameters.

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