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

# game_chat_communication_relationship_flags

> game_chat_communication_relationship_flags

# game\_chat\_communication\_relationship\_flags

두 사용자 간의 통신 관계를 정의합니다.

## 구문

```cpp theme={null}
enum class game_chat_communication_relationship_flags  
{  
    none = 0x0,  
    send_microphone_audio = 0x1,  
    send_text_to_speech_audio = 0x2,  
    send_text = 0x4,  
    receive_audio = 0x8,  
    receive_text = 0x10,  
}  
```

## 상수

| 상수 | 설명 |
| - | - |
| none | 로컬 사용자와 대상 사용자 사이의 통신이 허용되지 않습니다. |
| send\_microphone\_audio | 로컬 사용자에서 대상 사용자로의 마이크 통신이 허용됩니다. |
| send\_text\_to\_speech\_audio | 로컬 사용자에서 대상 사용자로의 텍스트 음성 변환 통신이 허용됩니다. |
| send\_text | 로컬 사용자에서 대상 사용자로의 텍스트 통신이 허용됩니다. |
| receive\_audio | 대상 사용자에서 로컬 사용자로의 오디오 통신이 허용됩니다. |
| receive\_text | 대상 사용자에서 로컬 사용자로의 텍스트 통신이 허용됩니다. |

## 설명

이 열거형은 앱이 Game Chat 2에 요청할 수 있는 두 사용자 간의 통신 관계를 설명합니다. [chat\_user\_local::get\_effective\_communication\_relationship](https://docs.xbox.com/ko/reference/chat/gamechat2/classes/chat_user/chat_user_local/methods/chat_user_local_get_effective_communication_relationship.md) 메서드를 호출하여 로컬 사용자와 지정된 대상 사용자 사이의 현재 통신 관계를 검색하거나, [chat\_user\_local::set\_communication\_relationship](https://docs.xbox.com/ko/reference/chat/gamechat2/classes/chat_user/chat_user_local/methods/chat_user_local_set_communication_relationship.md) 메서드를 호출하여 설정할 수 있습니다. 또한 채팅 인스턴스를 초기화할 때 [chat\_manager::initialize](https://docs.xbox.com/ko/reference/chat/gamechat2/classes/chat_manager/methods/chat_manager_initialize.md) 메서드를 호출하여 사용자 간의 기본 통신 관계를 설정할 수 있습니다.

채팅 인스턴스의 초기화 및 사용에 대한 자세한 내용은 [Game Chat 2 C++ API 사용](https://docs.xbox.com/ko/services/xbox-services/multiplayer/chat/game-chat2/using-game-chat-2.md)을 참조하세요.

## 요구 사항

**헤더:** GameChat2.h

**지원 플랫폼:** Windows, XBOX One 제품군 콘솔 및 XBOX Series 콘솔

## 관련 항목

[Game Chat 2 소개](https://docs.xbox.com/ko/services/xbox-services/multiplayer/chat/game-chat2/game-chat-2-intro.md)\
[GameChat2 members](https://docs.xbox.com/ko/reference/chat/gamechat2/gamechat2_members.md)\
[chat\_user\_local](https://docs.xbox.com/ko/reference/chat/gamechat2/classes/chat_user/chat_user_local/chat_user_local.md)


## Related topics

- [game_chat_communication_relationship_adjuster](https://docs.xbox.com/ko/reference/chat/gamechat2/enums/game_chat_communication_relationship_adjuster.md)
- [set_communication_relationship](https://docs.xbox.com/ko/reference/chat/gamechat2/classes/chat_user/chat_user_local/methods/chat_user_local_set_communication_relationship.md)
- [get_effective_communication_relationship](https://docs.xbox.com/ko/reference/chat/gamechat2/classes/chat_user/chat_user_local/methods/chat_user_local_get_effective_communication_relationship.md)
- [GameChat2 멤버(API 콘텐츠)](https://docs.xbox.com/ko/reference/chat/gamechat2/gamechat2_members.md)
- [Game Chat 2 C++ API 사용](https://docs.xbox.com/ko/services/xbox-services/multiplayer/chat/game-chat2/using-game-chat-2.md)
