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

# PartyChatControl::GetLocal

> Gets the [PartyLocalChatControl](/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/partylocalchatcontrol) version of this chat.

Gets the [PartyLocalChatControl](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/partylocalchatcontrol.md) version of this chat control.

## Syntax

```cpp theme={null}
PartyError GetLocal(  
    PartyLocalChatControl** localChatControl  
)  
```

### Parameters

**`localChatControl`**   [PartyLocalChatControl\*\*](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/partylocalchatcontrol.md)\
*library-allocated output, may return nullptr*

The local version of this chat control object, or nullptr if this is not a local chat control.

### Return value

PartyError

`c_partyErrorSuccess` if the call succeeded or an error code otherwise. The human-readable form of the error code can be retrieved via [PartyManager::GetErrorMessage()](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_geterrormessage.md).

## Requirements

**Header:** Party.h

## See also

[PartyChatControl](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyChatControl/partychatcontrol.md)


## Related topics

- [PartyLocalChatControl](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/partylocalchatcontrol.md)
- [PartyChatControl](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyChatControl/partychatcontrol.md)
- [PartyLocalChatControl::GetLocalChatIndicator](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_getlocalchatindicator.md)
- [PartyLocalChatControl::GetLocalUser](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyLocalChatControl/methods/partylocalchatcontrol_getlocaluser.md)
- [PartyChatControl::GetAudioManipulationVoiceStream](https://docs.xbox.com/services/playfab/multiplayer/networking/reference/classes/PartyChatControl/methods/partychatcontrol_getaudiomanipulationvoicestream.md)
