Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

Player

import type { Player } from "https://googleapis.deno.dev/v1/gamesManagement:v1management.ts";

A Player resource.

interface Player {
avatarImageUrl?: string;
bannerUrlLandscape?: string;
bannerUrlPortrait?: string;
displayName?: string;
kind?: string;
name?: {
familyName?: string;
givenName?: string;
}
;
originalPlayerId?: string;
playerId?: string;
profileSettings?: ProfileSettings;
title?: string;
}

§Properties

§
avatarImageUrl?: string
[src]

The base URL for the image that represents the player.

§
bannerUrlLandscape?: string
[src]

The url to the landscape mode player banner image.

§
bannerUrlPortrait?: string
[src]

The url to the portrait mode player banner image.

§
displayName?: string
[src]

The name to display for the player.

§

An object to represent Play Game experience information for the player.

§
kind?: string
[src]

Uniquely identifies the type of this resource. Value is always the fixed string gamesManagement#player.

§
name?: {
familyName?: string;
givenName?: string;
}
[src]

An object representation of the individual components of the player's name. For some players, these fields may not be present.

§
originalPlayerId?: string
[src]

The player ID that was used for this player the first time they signed into the game in question. This is only populated for calls to player.get for the requesting player, only if the player ID has subsequently changed, and only to clients that support remapping player IDs.

§
playerId?: string
[src]

The ID of the player.

§
profileSettings?: ProfileSettings
[src]

The player's profile settings. Controls whether or not the player's profile is visible to other players.

§
title?: string
[src]

The player's title rewarded for their game activities.