/var/www/vhosts/ihelp.ro/httpdocs/vendor/google/apiclient-services/src/Games/Resource
Edit: /var/www/vhosts/ihelp.ro/httpdocs/vendor/google/apiclient-services/src/Games/Resource/Recall.php (3784B)
* $gamesService = new Google\Service\Games(...);
* $recall = $gamesService->recall;
*
*/
class Recall extends \Google\Service\Resource
{
/**
* Associate the PGS Player principal encoded in the provided recall session id
* with an in-game account (recall.linkPersona)
*
* @param LinkPersonaRequest $postBody
* @param array $optParams Optional parameters.
* @return LinkPersonaResponse
*/
public function linkPersona(LinkPersonaRequest $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('linkPersona', [$params], LinkPersonaResponse::class);
}
/**
* Delete all Recall tokens linking the given persona to any player (with or
* without a profile). (recall.resetPersona)
*
* @param ResetPersonaRequest $postBody
* @param array $optParams Optional parameters.
* @return ResetPersonaResponse
*/
public function resetPersona(ResetPersonaRequest $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('resetPersona', [$params], ResetPersonaResponse::class);
}
/**
* Retrieve all Recall tokens associated with the PGS Player principal encoded
* in the provided recall session id. The API is only available for users that
* have active PGS Player profile. (recall.retrieveTokens)
*
* @param string $sessionId Required. Opaque server-generated string that
* encodes all the necessary information to identify the PGS player / Google
* user and application.
* @param array $optParams Optional parameters.
* @return RetrievePlayerTokensResponse
*/
public function retrieveTokens($sessionId, $optParams = [])
{
$params = ['sessionId' => $sessionId];
$params = array_merge($params, $optParams);
return $this->call('retrieveTokens', [$params], RetrievePlayerTokensResponse::class);
}
/**
* Delete a Recall token linking the PGS Player principal identified by the
* Recall session and an in-game account identified either by the 'persona' or
* by the token value. (recall.unlinkPersona)
*
* @param UnlinkPersonaRequest $postBody
* @param array $optParams Optional parameters.
* @return UnlinkPersonaResponse
*/
public function unlinkPersona(UnlinkPersonaRequest $postBody, $optParams = [])
{
$params = ['postBody' => $postBody];
$params = array_merge($params, $optParams);
return $this->call('unlinkPersona', [$params], UnlinkPersonaResponse::class);
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(Recall::class, 'Google_Service_Games_Resource_Recall');