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

# クラスの内容

> chat_user_local

# chat\_user\_local

ローカル ユーザーに対してのみ可能な操作をカプセル化するサブクラスです。

## 構文

```cpp theme={null}
class chat_user_local  
```

## メソッド

| メソッド | 説明 |
| - | - |
| [audio\_render\_volume](https://devdocs.xbox.com/ja-jp/reference/chat/gamechat2/classes/chat_user/chat_user_local/methods/chat_user_local_audio_render_volume.md) | ローカル ユーザーに対して使用される、対象ユーザーから受信するオーディオの現在の音量設定を返します。 |
| [get\_effective\_communication\_relationship](https://devdocs.xbox.com/ja-jp/reference/chat/gamechat2/classes/chat_user/chat_user_local/methods/chat_user_local_get_effective_communication_relationship.md) | Game Chat がローカル ユーザーと対象ユーザーの間で強制している通信関係を取得します。 |
| [microphone\_muted](https://devdocs.xbox.com/ja-jp/reference/chat/gamechat2/classes/chat_user/chat_user_local/methods/chat_user_local_microphone_muted.md) | ユーザーのマイクが以前にミュート状態に構成されたかどうかを返します。 |
| [remote\_user\_muted](https://devdocs.xbox.com/ja-jp/reference/chat/gamechat2/classes/chat_user/chat_user_local/methods/chat_user_local_remote_user_muted.md) | リモート ユーザーが、ローカル ユーザーとの関係において以前にミュートされているかどうかを返します。 |
| [send\_chat\_text](https://devdocs.xbox.com/ja-jp/reference/chat/gamechat2/classes/chat_user/chat_user_local/methods/chat_user_local_send_chat_text.md) | このユーザーからのコミュニケーションを受信するように構成されている、ローカル [chat\_manager](https://devdocs.xbox.com/ja-jp/reference/chat/gamechat2/classes/chat_manager/chat_manager) インスタンス内のすべてのユーザーに送信されるチャット テキスト文字列を生成します。 |
| [set\_audio\_render\_volume](https://devdocs.xbox.com/ja-jp/reference/chat/gamechat2/classes/chat_user/chat_user_local/methods/chat_user_local_set_audio_render_volume.md) | 指定した対象ユーザーからローカル ユーザーが受信するオーディオに適用される音量設定を構成します。 |
| [set\_communication\_relationship](https://devdocs.xbox.com/ja-jp/reference/chat/gamechat2/classes/chat_user/chat_user_local/methods/chat_user_local_set_communication_relationship.md) | ローカル ユーザーと対象ユーザーの間の通信関係を設定します。 |
| [set\_microphone\_muted](https://devdocs.xbox.com/ja-jp/reference/chat/gamechat2/classes/chat_user/chat_user_local/methods/chat_user_local_set_microphone_muted.md) | ユーザーのマイクがミュート状態にあるかどうかを構成します。 |
| [set\_remote\_user\_muted](https://devdocs.xbox.com/ja-jp/reference/chat/gamechat2/classes/chat_user/chat_user_local/methods/chat_user_local_set_remote_user_muted.md) | リモート ユーザーが、ローカル ユーザーとの関係においてミュートされているかどうかを構成します。 |
| [speech\_to\_text\_conversion\_preference\_enabled](https://devdocs.xbox.com/ja-jp/reference/chat/gamechat2/classes/chat_user/chat_user_local/methods/chat_user_local_speech_to_text_conversion_preference_enabled.md) | このユーザーが音声テキスト変換を有効化している場合に true を返します。 |
| [synthesize\_text\_to\_speech](https://devdocs.xbox.com/ja-jp/reference/chat/gamechat2/classes/chat_user/chat_user_local/methods/chat_user_local_synthesize_text_to_speech.md) | テキスト メッセージをオーディオとして合成し、あたかもオーディオがローカル ユーザーのマイクから来たかのようにオーディオ パケットを生成します。 |
| [text\_to\_speech\_conversion\_preference\_enabled](https://devdocs.xbox.com/ja-jp/reference/chat/gamechat2/classes/chat_user/chat_user_local/methods/chat_user_local_text_to_speech_conversion_preference_enabled.md) | このユーザーがテキスト音声変換を有効化している場合に true を返します。 |

## 解説

[chat\_user::local()](https://devdocs.xbox.com/ja-jp/reference/chat/gamechat2/classes/chat_user/methods/chat_user_local_function-overloads.md) メソッドを呼び出すと、ユーザーがローカルの場合は chat\_user::chat\_user\_local クラスのインスタンスへのポインターが返され、そうでない場合は null が返されます。

## 要件

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

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

## 関連項目

[GameChat2 メンバー](https://devdocs.xbox.com/ja-jp/reference/chat/gamechat2/gamechat2_members.md)\
[chat\_user](https://devdocs.xbox.com/ja-jp/reference/chat/gamechat2/classes/chat_user/chat_user)\
[chat\_user::local()](https://devdocs.xbox.com/ja-jp/reference/chat/gamechat2/classes/chat_user/methods/chat_user_local_function.md)


## Related topics

- [IXtfConsoleControlClient (インターフェイスの内容)](https://devdocs.xbox.com/ja-jp/reference/tools/xtf/xtfconsolecontrol/interfaces/IXtfConsoleControlClient/ixtfconsolecontrolclient.md)
- [ILampInfo (インターフェイスの内容)](https://devdocs.xbox.com/ja-jp/reference/lighting/lamparray/interfaces/ilampinfo/ilampinfo.md)
- [ILampArray (インターフェイスの内容)](https://devdocs.xbox.com/ja-jp/reference/lighting/lamparray/interfaces/ilamparray/ilamparray.md)
- [IDStorageFileX (インターフェイスの内容)](https://devdocs.xbox.com/ja-jp/reference/system/dstorage/interfaces/IDStorageFileX/idstoragefilex.md)
- [IDStorageQueueX (インターフェイスの内容)](https://devdocs.xbox.com/ja-jp/reference/system/dstorage/interfaces/IDStorageQueueX/idstoragequeuex.md)
