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

# GameMessage (JSON)

> GameMessage (JSON)

# GameMessage (JSON)

게임 세션의 메시지 큐에 있는 메시지에 대한 데이터를 정의하는 JSON 개체입니다.

GameMessage JSON 개체는 다음 사양을 가집니다.

| 멤버 | 형식 | 설명 |
| - | - | - |
| data | 8비트 부호 없는 정수의 배열 | 게임 클라이언트가 다른 게임 클라이언트에 보내려는 Base64로 인코딩된 데이터입니다. 이 값은 서버에 불투명합니다. |
| senderXuid | 64비트 부호 없는 정수 | 메시지를 보내는 플레이어의 XBOX 사용자 ID입니다. |
| sequenceNumber | 32비트 부호 있는 정수 | 게임 메시지의 시퀀스 번호입니다. 이 값은 서버에서 할당합니다. 시퀀스 번호는 단조롭게 증가하는 것이 보장되지만 연속적이지 않을 수 있습니다. 시퀀스 번호는 메시지 큐 내에서 고유하지만 메시지 큐 간에는 고유하지 않습니다. |
| queueIndex | 32비트 부호 있는 정수 | 메시지에 대한 세션 메시지 큐의 인덱스입니다. 가능한 값은 0-3입니다. |
| timeStamp | DateTime | 서버에서 큐에 게임 메시지가 만들어진 시간(UTC)입니다. |

## 샘플 JSON 구문

```json theme={null}
{
    "queueIndex": 0,
    "sequenceNumber": 5,
    "senderXuid": 65536,
    "timestamp": "2011-06-23T18:49:50Z",
    "data": null
}
    
```

## 함께 보기

##### 상위

[JSON(JavaScript Object Notation) 개체 참조](https://devdocs.xbox.com/ko/reference/live/rest/json/atoc-xboxlivews-reference-json)

##### 참조

[GameSession (JSON)](https://devdocs.xbox.com/ko/reference/live/rest/json/json-gamesession)


## Related topics

- [Xbox Game Package Manager](https://devdocs.xbox.com/build/core-features/common/packaging/xgpm.md)
- [Real-time messages for Lobby and Matchmaking APIs](https://devdocs.xbox.com/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/MatchUser/overview.md)
- [XBOX Game Package Manager](https://devdocs.xbox.com/fr/build/core-features/common/packaging/xgpm.md)
- [Unlink Game Center Account](https://devdocs.xbox.com/services/playfab/api-references/rest/client/account-management/unlink-game-center-account.md)
- [Crafting Game Part 3 - Coding](https://devdocs.xbox.com/services/playfab/economy-monetization/economy-v2/tutorials/craftingGame/crafting-game-coding.md)
