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

# local function - overloads

> chat_user::local function - overloads

Returns a pointer to the [chat\_user\_local](https://docs.xbox.com/reference/chat/gamechat2/classes/chat_user/chat_user_local/chat_user_local.md) object associated with this user, if the user is local.

## Overload list

| Name | Description |
| - | - |
| [chat\_user::local()](https://docs.xbox.com/reference/chat/gamechat2/classes/chat_user/methods/chat_user_local_function.md) | Returns a pointer to the [chat\_user\_local](https://docs.xbox.com/reference/chat/gamechat2/classes/chat_user/chat_user_local/chat_user_local.md) object associated with this user, if the user is local. |
| [chat\_user::local const()](https://docs.xbox.com/reference/chat/gamechat2/classes/chat_user/methods/chat_user_local_function_2.md) | Returns a `const` pointer to the [chat\_user\_local](https://docs.xbox.com/reference/chat/gamechat2/classes/chat_user/chat_user_local/chat_user_local.md) object associated with this user, if the user is local. |

## See also

[Intro to Game Chat 2](https://docs.xbox.com/services/xbox-services/multiplayer/chat/game-chat2/game-chat-2-intro.md)\
[chat\_user](https://docs.xbox.com/reference/chat/gamechat2/classes/chat_user/chat_user.md)


## Related topics

- [Local debugging for Cloudscript using Azure Functions](https://docs.xbox.com/services/playfab/live-service-management/service-gateway/automation/cloudscript-af/local-debugging-for-cloudscript-using-azure-functions.md)
- [PIXSetMarker](https://docs.xbox.com/reference/tools/pix3/functions/pixsetmarker-overloads.md)
- [PIXEndEvent](https://docs.xbox.com/reference/tools/pix3/functions/pixendevent-overloads.md)
- [PIXScopedEvent](https://docs.xbox.com/reference/tools/pix3/functions/pixscopedevent-overloads.md)
- [PIXBeginEvent](https://docs.xbox.com/reference/tools/pix3/functions/pixbeginevent-overloads.md)
