> ## 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.

# game_chat_data_frame

> game_chat_data_frame

# game\_chat\_data\_frame

Representa informações sobre dados de saída do Game Chat 2 que devem ser entregues a pontos de extremidade remotos do Game Chat 2.

<a id="syntaxSection" />

## Sintaxe

```cpp theme={null}
typedef struct game_chat_data_frame {  
    uint32_t target_endpoint_identifier_count;  
    uint64_t* target_endpoint_identifiers;  
    game_chat_data_transport_requirement transport_requirement;  
    uint32_t packet_byte_count;  
    uint8_t* packet_buffer;  
} game_chat_data_frame  
```

<a id="membersSection" />

### Membros

*target\_endpoint\_identifier\_count*\
Tipo: uint32\_t

O número de identificadores de ponto de extremidade remoto especificados em *target\_endpoint\_identifiers*.

*target\_endpoint\_identifiers*  \_Field\_size\_(target\_endpoint\_identifier\_count)\
Tipo: uint64\_t\*

Uma matriz de um ou mais identificadores de ponto de extremidade remoto para os quais esses dados devem ser transmitidos. A matriz tem o número de membros especificado em *target\_endpoint\_identifier\_count*.

*transport\_requirement*\
Tipo: [game\_chat\_data\_transport\_requirement](/pt-BR/reference/chat/gamechat2/enums/game_chat_data_transport_requirement)

Os requisitos de transporte dos dados.

*packet\_byte\_count*\
Tipo: uint32\_t

O tamanho do buffer de dados que deve ser transmitido aos pontos de extremidade remotos especificados por *target\_endpoint\_identifiers*.

*packet\_buffer*  \_Field\_size\_(packet\_byte\_count)\
Tipo: uint8\_t\*

Um ponteiro para o buffer de dados que deve ser transmitido aos pontos de extremidade remotos especificados por *target\_endpoint\_identifiers*.

<a id="remarksSection" />

## Comentários

Essa estrutura representa informações sobre dados de saída do Game Chat 2, como dados de áudio, que devem ser entregues a pontos de extremidade remotos do Game Chat 2. As estruturas `game_chat_data_frame` são relatadas pelo método [chat\_manager::start\_processing\_data\_frames](/pt-BR/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_start_processing_data_frames). O aplicativo processa os quadros de dados e, em seguida, os devolve prontamente chamando o método [chat\_manager::finish\_processing\_data\_frames](/pt-BR/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_finish_processing_data_frames).

A memória da matriz `target_endpoint_identifiers` permanece válida até que esse objeto seja retornado chamando `chat_manager::finish_processing_data_frames`. Os valores possíveis de identificador de ponto de extremidade nessa matriz são aqueles especificados anteriormente por chamadas ao método [chat\_manager::add\_remote\_user](/pt-BR/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_add_remote_user).

<a id="array" />

### game\_chat\_data\_frame\_array

O tipo `game_chat_data_frame_array` é uma matriz constante de ponteiros `game_chat_data_frame`. Esse tipo é fornecido por conveniência e é usado com os métodos `chat_manager::start_processing_data_frames` e `chat_manager::finish_processing_data_frames`.

```cpp theme={null}
typedef class game_chat_data_frame * const * game_chat_data_frame_array;
```

<a id="requirementsSection" />

## Requisitos

**Cabeçalho:** GameChat2.h

**Plataformas com suporte:** Windows, consoles da família XBOX One e consoles XBOX Series

<a id="seealsoSection" />

## Documentação conceitual

* [Introdução ao Game Chat 2](/pt-BR/services/xbox-services/multiplayer/chat/game-chat2/game-chat-2-intro)
* [Usando a API C++ do Game Chat 2](/pt-BR/services/xbox-services/multiplayer/chat/game-chat2/using-game-chat-2)

## Confira também

[Introdução ao Game Chat 2](/pt-BR/services/xbox-services/multiplayer/chat/game-chat2/game-chat-2-intro)\
[chat\_manager](/pt-BR/reference/chat/gamechat2/classes/chat_manager/chat_manager)\
[Membros do GameChat2](/pt-BR/reference/chat/gamechat2/gamechat2_members)


## Related topics

- [game_chat_data_frame](/reference/chat/gamechat2/structs/game_chat_data_frame.md)
- [chat_manager::finish_processing_data_frames](/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_finish_processing_data_frames.md)
