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

リモート Game Chat 2 エンドポイントに配信する必要のある送信 Game Chat 2 データに関する情報を表します。

<a id="syntaxSection" />

## 構文

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

### メンバー

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

*target\_endpoint\_identifiers* で指定されているリモート エンドポイント識別子の数。

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

このデータの送信先となる、1 つ以上のリモート エンドポイント識別子の配列。配列は *target\_endpoint\_identifier\_count* で指定された数のメンバーを持ちます。

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

データのトランスポート要件。

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

*target\_endpoint\_identifiers* で指定されたリモート エンドポイントに送信する必要のあるデータ バッファーのサイズ。

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

*target\_endpoint\_identifiers* で指定されたリモート エンドポイントに送信する必要のあるデータ バッファーへのポインター。

<a id="remarksSection" />

## 解説

この構造体は、リモート Game Chat 2 エンドポイントに配信する必要のあるオーディオ データなどの送信 Game Chat 2 データに関する情報を表します。`game_chat_data_frame` 構造体は、[chat\_manager::start\_processing\_data\_frames](/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_start_processing_data_frames) メソッドによって報告されます。アプリはデータ フレームを処理し、[chat\_manager::finish\_processing\_data\_frames](/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_finish_processing_data_frames) メソッドを呼び出して速やかにそれらを返します。

`target_endpoint_identifiers` 配列のメモリは、このオブジェクトが `chat_manager::finish_processing_data_frames` を呼び出して返されるまで有効です。その配列に指定できるエンドポイント識別子の値は、以前に [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

`game_chat_data_frame_array` 型は、`game_chat_data_frame` ポインターの定数配列です。この型は利便性のために提供されており、`chat_manager::start_processing_data_frames` および `chat_manager::finish_processing_data_frames` メソッドで使用されます。

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

<a id="requirementsSection" />

## 要件

**ヘッダー:** GameChat2.h

**サポートされているプラットフォーム:** Windows、XBOX One ファミリ本体および XBOX Series 本体

<a id="seealsoSection" />

## 概念ドキュメント

* [Game Chat 2 の概要](/services/xbox-services/multiplayer/chat/game-chat2/game-chat-2-intro)
* [Game Chat 2 C++ API の使用](/services/xbox-services/multiplayer/chat/game-chat2/using-game-chat-2)

## 関連項目

[Game Chat 2 の概要](/services/xbox-services/multiplayer/chat/game-chat2/game-chat-2-intro)\
[chat\_manager](/reference/chat/gamechat2/classes/chat_manager/chat_manager)\
[GameChat2 メンバー](/reference/chat/gamechat2/gamechat2_members)


## Related topics

- [chat_manager::finish_processing_data_frames](/ja-jp/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_finish_processing_data_frames.md)
- [chat_manager::process_incoming_data](/ja-jp/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_process_incoming_data.md)
- [chat_manager::start_processing_data_frames](/ja-jp/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_start_processing_data_frames.md)
- [chat_manager::add_remote_user](/ja-jp/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_add_remote_user.md)
- [Game Chat 2 C++ API の使用](/ja-jp/services/xbox-services/multiplayer/chat/game-chat2/using-game-chat-2.md)
