Show / Hide Table of Contents

Class PlayersResource

The "players" collection of methods.

Inheritance
object
PlayersResource
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.Games.v1
Assembly: Google.Apis.Games.v1.dll
Syntax
public class PlayersResource

Constructors

PlayersResource(IClientService)

Constructs a new resource.

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

Methods

Get(string)

Retrieves the Player resource with the given ID. To retrieve the player for the currently authenticated user, set playerId to me.

Declaration
public virtual PlayersResource.GetRequest Get(string playerId)
Parameters
Type Name Description
string playerId

A player ID. A value of me may be used in place of the authenticated player's ID.

Returns
Type Description
PlayersResource.GetRequest

GetMultipleApplicationPlayerIds()

Get the application player ids for the currently authenticated player across all requested games by the same developer as the calling application. This will only return ids for players that actually have an id (scoped or otherwise) with that game.

Declaration
public virtual PlayersResource.GetMultipleApplicationPlayerIdsRequest GetMultipleApplicationPlayerIds()
Returns
Type Description
PlayersResource.GetMultipleApplicationPlayerIdsRequest

GetScopedPlayerIds()

Retrieves scoped player identifiers for currently authenticated user.

Declaration
public virtual PlayersResource.GetScopedPlayerIdsRequest GetScopedPlayerIds()
Returns
Type Description
PlayersResource.GetScopedPlayerIdsRequest

List(CollectionEnum)

Get the collection of players for the currently authenticated user.

Declaration
public virtual PlayersResource.ListRequest List(PlayersResource.ListRequest.CollectionEnum collection)
Parameters
Type Name Description
PlayersResource.ListRequest.CollectionEnum collection

Collection of players being retrieved

Returns
Type Description
PlayersResource.ListRequest
In this article
Back to top Generated by DocFX