Show / Hide Table of Contents

Class ScoresResource.SubmitRequest

Submits a score to the specified leaderboard.

Inheritance
System.Object
ClientServiceRequest
ClientServiceRequest<PlayerScoreResponse>
GamesBaseServiceRequest<PlayerScoreResponse>
ScoresResource.SubmitRequest
Implements
IClientServiceRequest<PlayerScoreResponse>
IClientServiceRequest
Inherited Members
GamesBaseServiceRequest<PlayerScoreResponse>.Alt
GamesBaseServiceRequest<PlayerScoreResponse>.Fields
GamesBaseServiceRequest<PlayerScoreResponse>.Key
GamesBaseServiceRequest<PlayerScoreResponse>.OauthToken
GamesBaseServiceRequest<PlayerScoreResponse>.PrettyPrint
GamesBaseServiceRequest<PlayerScoreResponse>.QuotaUser
GamesBaseServiceRequest<PlayerScoreResponse>.UserIp
ClientServiceRequest<PlayerScoreResponse>.Execute()
ClientServiceRequest<PlayerScoreResponse>.ExecuteAsStream()
ClientServiceRequest<PlayerScoreResponse>.ExecuteAsync()
ClientServiceRequest<PlayerScoreResponse>.ExecuteAsync(CancellationToken)
ClientServiceRequest<PlayerScoreResponse>.ExecuteAsStreamAsync()
ClientServiceRequest<PlayerScoreResponse>.ExecuteAsStreamAsync(CancellationToken)
ClientServiceRequest<PlayerScoreResponse>.CreateRequest(Nullable<Boolean>)
ClientServiceRequest<PlayerScoreResponse>.GenerateRequestUri()
ClientServiceRequest<PlayerScoreResponse>.GetBody()
ClientServiceRequest<PlayerScoreResponse>.GetDefaultETagAction(String)
ClientServiceRequest<PlayerScoreResponse>.ETagAction
ClientServiceRequest<PlayerScoreResponse>.ModifyRequest
ClientServiceRequest<PlayerScoreResponse>.RequestParameters
ClientServiceRequest<PlayerScoreResponse>.Service
ClientServiceRequest._unsuccessfulResponseHandlers
ClientServiceRequest._exceptionHandlers
ClientServiceRequest._executeInterceptors
ClientServiceRequest.AddUnsuccessfulResponseHandler(IHttpUnsuccessfulResponseHandler)
ClientServiceRequest.AddExceptionHandler(IHttpExceptionHandler)
ClientServiceRequest.AddExecuteInterceptor(IHttpExecuteInterceptor)
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.Finalize()
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Google.Apis.Games.v1
Assembly: Google.Apis.Games.v1.dll
Syntax
public class SubmitRequest : GamesBaseServiceRequest<PlayerScoreResponse>, IClientServiceRequest<PlayerScoreResponse>, IClientServiceRequest

Constructors

SubmitRequest(IClientService, String, Int64)

Constructs a new Submit request.

Declaration
public SubmitRequest(IClientService service, string leaderboardId, long score)
Parameters
Type Name Description
IClientService service
System.String leaderboardId
System.Int64 score

Properties

HttpMethod

Gets the HTTP method.

Declaration
public override string HttpMethod { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Games.v1.Data.PlayerScoreResponse>.HttpMethod

Language

The preferred language to use for strings returned by this method.

Declaration
public virtual string Language { get; set; }
Property Value
Type Description
System.String

LeaderboardId

The ID of the leaderboard.

Declaration
public virtual string LeaderboardId { get; }
Property Value
Type Description
System.String

MethodName

Gets the method name.

Declaration
public override string MethodName { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Games.v1.Data.PlayerScoreResponse>.MethodName

RestPath

Gets the REST path.

Declaration
public override string RestPath { get; }
Property Value
Type Description
System.String
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Games.v1.Data.PlayerScoreResponse>.RestPath

Score

The score you're submitting. The submitted score is ignored if it is worse than a previously submitted score, where worse depends on the leaderboard sort order. The meaning of the score value depends on the leaderboard format type. For fixed-point, the score represents the raw value. For time, the score represents elapsed time in milliseconds. For currency, the score represents a value in micro units.

Declaration
public virtual long Score { get; }
Property Value
Type Description
System.Int64

ScoreTag

Additional information about the score you're submitting. Values must contain no more than 64 URI-safe characters as defined by section 2.3 of RFC 3986.

Declaration
public virtual string ScoreTag { get; set; }
Property Value
Type Description
System.String

Methods

InitParameters()

Initializes Submit parameter list.

Declaration
protected override void InitParameters()
Overrides
Google.Apis.Games.v1.GamesBaseServiceRequest<Google.Apis.Games.v1.Data.PlayerScoreResponse>.InitParameters()

Implements

IClientServiceRequest<TResponse>
IClientServiceRequest
Back to top