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

> chat_user::custom_user_context

# chat\_user::custom\_user\_context

이 사용자와 이전에 연결된, 앱의 선택적이고 비공개인 사용자 지정 포인터 크기의 컨텍스트 값을 검색합니다.

<a id="syntaxSection" />

## 구문

```cpp theme={null}
void* custom_user_context(  
)  
```

<a id="parametersSection" />

### 매개 변수

없음.

<a id="retvalSection" />

### 반환 값

형식: void\*

이 사용자와 이전에 연결된 포인터 크기의 값입니다. 그렇지 않으면 null 포인터입니다.

<a id="remarksSection" />

## 설명

이 메서드는 이 [chat\_user](/reference/chat/gamechat2/classes/chat_user/chat_user) 개체와 이전에 연결된 앱의 비공개 사용자 지정 포인터 크기 컨텍스트 값을 검색합니다. 이 `chat_user` 개체에 대해 아직 사용자 지정 사용자 컨텍스트가 설정되지 않은 경우 이 메서드는 null 포인터를 반환합니다.

사용자 지정 사용자 컨텍스트는 일반적으로 매핑 조회를 요구하지 않고 사용자와 연결된 로컬의 앱별 메모리에 대한 액세스를 간소화하는 "바로 가기"로 사용됩니다. `chat_user` 개체의 사용자 지정 사용자 컨텍스트를 설정하려면 [chat\_user::set\_custom\_user\_context](/reference/chat/gamechat2/classes/chat_user/methods/chat_user_set_custom_user_context) 메서드를 사용합니다.

<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)\
[chat\_user](/reference/chat/gamechat2/classes/chat_user/chat_user)


## Related topics

- [chat_user::set_custom_user_context](/ko/reference/chat/gamechat2/classes/chat_user/methods/chat_user_set_custom_user_context.md)
- [chat_user::xbox_user_id](/ko/reference/chat/gamechat2/classes/chat_user/methods/chat_user_xbox_user_id.md)
- [chat_user::chat_indicator](/ko/reference/chat/gamechat2/classes/chat_user/methods/chat_user_chat_indicator.md)
- [chat_user::local](/ko/reference/chat/gamechat2/classes/chat_user/methods/chat_user_local_function_2.md)
- [chat_user_local::remote_user_muted](/ko/reference/chat/gamechat2/classes/chat_user/chat_user_local/methods/chat_user_local_remote_user_muted.md)
