Show / Hide Table of Contents

Class ScoresResource

The "scores" collection of methods.

Inheritance
object
ScoresResource
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 ScoresResource

Constructors

ScoresResource(IClientService)

Constructs a new resource.

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

Methods

Reset(string)

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

Declaration
public virtual ScoresResource.ResetRequest Reset(string leaderboardId)
Parameters
Type Name Description
string leaderboardId

The ID of the leaderboard.

Returns
Type Description
ScoresResource.ResetRequest

ResetAll()

Resets all scores for all leaderboards for the currently authenticated players. This method is only accessible to whitelisted tester accounts for your application.

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

ResetAllForAllPlayers()

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

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

ResetForAllPlayers(string)

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

Declaration
public virtual ScoresResource.ResetForAllPlayersRequest ResetForAllPlayers(string leaderboardId)
Parameters
Type Name Description
string leaderboardId

The ID of the leaderboard.

Returns
Type Description
ScoresResource.ResetForAllPlayersRequest

ResetMultipleForAllPlayers(ScoresResetMultipleForAllRequest)

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

Declaration
public virtual ScoresResource.ResetMultipleForAllPlayersRequest ResetMultipleForAllPlayers(ScoresResetMultipleForAllRequest body)
Parameters
Type Name Description
ScoresResetMultipleForAllRequest body

The body of the request.

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