> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xbox.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Player (JSON)

> Player (JSON)

# Player (JSON)

ゲーム セッションのプレイヤーのデータを含みます。

## Player

Player オブジェクトの仕様は次のとおりです。

| メンバー | 型 | 説明 |
| - | - | - |
| customData | 8 ビット符号なし整数の配列 | Base64 エンコードされたゲーム固有のプレイヤー データ 1024 バイト。この値はサーバーにとっては不透明です。 |
| gamertag | string | プレイヤーのゲーマータグ。最大 15 文字。クライアントはプレイヤーを識別する UI でこの値を使用します。 |
| isCurrentlyInSession | ブール値 | プレイヤーが現在セッションに参加しているか、セッションから退出したかを示します。 |
| seatIndex | 32 ビット符号付き整数 | セッション内のプレイヤーのインデックス。 |
| xuid | 64 ビット符号なし整数 | プレイヤーの XBOX User ID (XUID)。 |

## サンプル JSON 構文

```json theme={null}
{
    "xuid": 2533274790412952,
    "gamertag":"MyTestUser",
    "seatindex": 3
    "customData":"AIHJ2?iE?/jiKE!l5S=T..."
    "isCurrentlyInSession":"true"
}
    
```

## 関連項目

##### 親

[JavaScript Object Notation (JSON) オブジェクト リファレンス](https://docs.xbox.com/ja-jp/reference/live/rest/json/atoc-xboxlivews-reference-json.md)

##### リファレンス

[GameSession (JSON)](https://docs.xbox.com/ja-jp/reference/live/rest/json/json-gamesession.md)


## Related topics

- [GameSession (JSON)](https://docs.xbox.com/ja-jp/reference/live/rest/json/json-gamesession.md)
- [Report Player](https://docs.xbox.com/api-reference/player-item-management/report-player.md)
- [Delete Player](https://docs.xbox.com/api-reference/account-management/delete-player.md)
- [Write Player Event](https://docs.xbox.com/api-reference/analytics/write-player-event.md)
- [Set Player Secret](https://docs.xbox.com/api-reference/authentication/set-player-secret.md)
