Show / Hide Table of Contents

Class AchievementsResource

The "achievements" collection of methods.

Inheritance
object
AchievementsResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.GamesManagement.v1management
Assembly: Google.Apis.GamesManagement.v1management.dll
Syntax
public class AchievementsResource

Constructors

AchievementsResource(IClientService)

Constructs a new resource.

Declaration
public AchievementsResource(IClientService service)
Parameters
Type Name Description
IClientService service

Methods

Reset(string)

Resets the achievement with the given ID for the currently authenticated player. This method is only accessible to whitelisted tester accounts for your application.

Declaration
public virtual AchievementsResource.ResetRequest Reset(string achievementId)
Parameters
Type Name Description
string achievementId

The ID of the achievement used by this method.

Returns
Type Description
AchievementsResource.ResetRequest

ResetAll()

Resets all achievements for the currently authenticated player for your application. This method is only accessible to whitelisted tester accounts for your application.

Declaration
public virtual AchievementsResource.ResetAllRequest ResetAll()
Returns
Type Description
AchievementsResource.ResetAllRequest

ResetAllForAllPlayers()

Resets all draft achievements for all players. This method is only available to user accounts for your developer console.

Declaration
public virtual AchievementsResource.ResetAllForAllPlayersRequest ResetAllForAllPlayers()
Returns
Type Description
AchievementsResource.ResetAllForAllPlayersRequest

ResetForAllPlayers(string)

Resets the achievement with the given ID for all players. This method is only available to user accounts for your developer console. Only draft achievements can be reset.

Declaration
public virtual AchievementsResource.ResetForAllPlayersRequest ResetForAllPlayers(string achievementId)
Parameters
Type Name Description
string achievementId

The ID of the achievement used by this method.

Returns
Type Description
AchievementsResource.ResetForAllPlayersRequest

ResetMultipleForAllPlayers(AchievementResetMultipleForAllRequest)

Resets achievements with the given IDs for all players. This method is only available to user accounts for your developer console. Only draft achievements may be reset.

Declaration
public virtual AchievementsResource.ResetMultipleForAllPlayersRequest ResetMultipleForAllPlayers(AchievementResetMultipleForAllRequest body)
Parameters
Type Name Description
AchievementResetMultipleForAllRequest body

The body of the request.

Returns
Type Description
AchievementsResource.ResetMultipleForAllPlayersRequest
In this article
Back to top Generated by DocFX