> ## 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 información sobre los datos salientes de Game Chat 2 que deben entregarse a los puntos de conexión remotos de Game Chat 2.

<a id="syntaxSection" />

## Sintaxis

```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" />

### Miembros

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

El número de identificadores de puntos de conexión remotos especificados en *target\_endpoint\_identifiers*.

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

Una matriz de uno o varios identificadores de puntos de conexión remotos a los que se deben transmitir estos datos. La matriz tiene el número de miembros especificado en *target\_endpoint\_identifier\_count*.

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

Los requisitos de transporte para los datos.

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

El tamaño del búfer de datos que se debe transmitir a los puntos de conexión remotos especificados por *target\_endpoint\_identifiers*.

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

Un puntero al búfer de datos que se debe transmitir a los puntos de conexión remotos especificados por *target\_endpoint\_identifiers*.

<a id="remarksSection" />

## Comentarios

Esta estructura representa información sobre los datos salientes de Game Chat 2, como los datos de audio, que deben entregarse a los puntos de conexión remotos de Game Chat 2. Las estructuras `game_chat_data_frame` se notifican mediante el método [chat\_manager::start\_processing\_data\_frames](/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_start_processing_data_frames). La aplicación procesa las tramas de datos y, a continuación, las devuelve inmediatamente llamando al método [chat\_manager::finish\_processing\_data\_frames](/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_finish_processing_data_frames).

La memoria de la matriz `target_endpoint_identifiers` sigue siendo válida hasta que este objeto se devuelve mediante una llamada a `chat_manager::finish_processing_data_frames`. Los valores posibles de identificador de punto de conexión de esa matriz son los que se han especificado previamente mediante llamadas al método [chat\_manager::add\_remote\_user](/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_add_remote_user).

<a id="array" />

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

El tipo `game_chat_data_frame_array` es una matriz constante de punteros `game_chat_data_frame`. Este tipo se proporciona por comodidad y se usa con los métodos `chat_manager::start_processing_data_frames` y `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

**Encabezado:** GameChat2.h

**Plataformas compatibles:** Windows, consolas de la familia XBOX One y consolas XBOX Series

<a id="seealsoSection" />

## Documentación conceptual

* [Introducción a Game Chat 2](/services/xbox-services/multiplayer/chat/game-chat2/game-chat-2-intro)
* [Uso de la API de C++ de Game Chat 2](/services/xbox-services/multiplayer/chat/game-chat2/using-game-chat-2)

## Consulte también

[Introducción a Game Chat 2](/services/xbox-services/multiplayer/chat/game-chat2/game-chat-2-intro)\
[chat\_manager](/reference/chat/gamechat2/classes/chat_manager/chat_manager)\
[Miembros de GameChat2](/reference/chat/gamechat2/gamechat2_members)


## Related topics

- [chat_manager::finish_processing_data_frames](/es/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_finish_processing_data_frames.md)
- [chat_manager::start_processing_data_frames](/es/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_start_processing_data_frames.md)
- [chat_manager::process_incoming_data](/es/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_process_incoming_data.md)
- [chat_manager::add_remote_user](/es/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_add_remote_user.md)
- [game_chat_data_transport_requirement](/es/reference/chat/gamechat2/enums/game_chat_data_transport_requirement.md)
