games  v1
Public Member Functions | List of all members
google_games_api::GamesService::AchievementsResource Class Reference

#include <games_service.h>

Public Member Functions

 AchievementsResource (GamesService *service)
 
 ~AchievementsResource ()
 
AchievementsResource_IncrementMethodNewIncrementMethod (client::AuthorizationCredential *_credential_, const absl::string_view &achievement_id, const int32 &steps_to_increment) const
 
AchievementsResource_ListMethodNewListMethod (client::AuthorizationCredential *_credential_, const absl::string_view &player_id) const
 
AchievementsResource_ListMethodPager * NewListMethodPager (client::AuthorizationCredential *_credential_, const absl::string_view &player_id) const
 
AchievementsResource_RevealMethodNewRevealMethod (client::AuthorizationCredential *_credential_, const absl::string_view &achievement_id) const
 
AchievementsResource_SetStepsAtLeastMethodNewSetStepsAtLeastMethod (client::AuthorizationCredential *_credential_, const absl::string_view &achievement_id, const int32 &steps) const
 
AchievementsResource_UnlockMethodNewUnlockMethod (client::AuthorizationCredential *_credential_, const absl::string_view &achievement_id) const
 
AchievementsResource_UpdateMultipleMethodNewUpdateMultipleMethod (client::AuthorizationCredential *_credential_, const AchievementUpdateMultipleRequest &_content_) const
 

Detailed Description

Acts as message factory for accessing data.

Constructor & Destructor Documentation

◆ AchievementsResource()

google_games_api::GamesService::AchievementsResource::AchievementsResource ( GamesService service)
explicit

Standard constructor.

Parameters
[in]serviceThe service instance is used to bind to the methods created from this resource instance. This will be the service that methods are invoked on.

◆ ~AchievementsResource()

google_games_api::GamesService::AchievementsResource::~AchievementsResource ( )
inline

Standard destructor.

Member Function Documentation

◆ NewIncrementMethod()

AchievementsResource_IncrementMethod * google_games_api::GamesService::AchievementsResource::NewIncrementMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  achievement_id,
const int32 &  steps_to_increment 
) const

Creates a new AchievementsResource_IncrementMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]achievement_idThe ID of the achievement used by this method.
[in]steps_to_incrementThe number of steps to increment.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewListMethod()

AchievementsResource_ListMethod * google_games_api::GamesService::AchievementsResource::NewListMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  player_id 
) const

Creates a new AchievementsResource_ListMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]player_idA player ID. A value of me may be used in place of the authenticated player's ID.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewListMethodPager()

AchievementsResource_ListMethodPager * google_games_api::GamesService::AchievementsResource::NewListMethodPager ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  player_id 
) const

Creates a pager for iterating over incremental result pages.

Parameters
[in]<em>credential</em>NULL credentials will not authorize the request.
[in]player_idA player ID. A value of me may be used in place of the authenticated player's ID.
See also
googleapis::googleapis::ServiceRequestPager

◆ NewRevealMethod()

AchievementsResource_RevealMethod * google_games_api::GamesService::AchievementsResource::NewRevealMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  achievement_id 
) const

Creates a new AchievementsResource_RevealMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]achievement_idThe ID of the achievement used by this method.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewSetStepsAtLeastMethod()

AchievementsResource_SetStepsAtLeastMethod * google_games_api::GamesService::AchievementsResource::NewSetStepsAtLeastMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  achievement_id,
const int32 &  steps 
) const

Creates a new AchievementsResource_SetStepsAtLeastMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]achievement_idThe ID of the achievement used by this method.
[in]stepsThe minimum value to set the steps to.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewUnlockMethod()

AchievementsResource_UnlockMethod * google_games_api::GamesService::AchievementsResource::NewUnlockMethod ( client::AuthorizationCredential *  _credential_,
const absl::string_view &  achievement_id 
) const

Creates a new AchievementsResource_UnlockMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]achievement_idThe ID of the achievement used by this method.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

◆ NewUpdateMultipleMethod()

AchievementsResource_UpdateMultipleMethod * google_games_api::GamesService::AchievementsResource::NewUpdateMultipleMethod ( client::AuthorizationCredential *  _credential_,
const AchievementUpdateMultipleRequest _content_ 
) const

Creates a new AchievementsResource_UpdateMultipleMethod instance.

Parameters
[in]<em>credential</em>Can be NULL. NULL credentials will not authorize the request.
[in]<em>content</em>The data object to updateMultiple.
Returns
The caller should Execute the method instance, then destroy it when they are finished.

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