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

# PartyChatControlLeftNetworkStateChange

> Information specific to the *ChatControlLeftNetwork* type of state change.

Information specific to the *ChatControlLeftNetwork* type of state change.

## Syntax

```cpp theme={null}
struct PartyChatControlLeftNetworkStateChange : PartyStateChange {  
    PartyDestroyedReason reason;  
    PartyError errorDetail;  
    PartyNetwork* network;  
    PartyChatControl* chatControl;  
}  
```

### Members

**`reason`**   [PartyDestroyedReason](/services/playfab/multiplayer/networking/reference/enums/partydestroyedreason)

The reason the chat control left the network.

**`errorDetail`**   PartyError

A diagnostic value providing additional troubleshooting information regarding any potential error condition.

The human-readable form of this error detail can be retrieved via [PartyManager::GetErrorMessage()](/services/playfab/multiplayer/networking/reference/classes/PartyManager/methods/partymanager_geterrormessage).

**`network`**   [PartyNetwork](/services/playfab/multiplayer/networking/reference/classes/PartyNetwork/partynetwork)\*

The network left.

**`chatControl`**   [PartyChatControl](/services/playfab/multiplayer/networking/reference/classes/PartyChatControl/partychatcontrol)\*

The chat control that left the network.

## Requirements

**Header:** Party.h

## See also

[Party members](/services/playfab/multiplayer/networking/reference/party_members)\
[PartyNetwork::DisconnectChatControl](/services/playfab/multiplayer/networking/reference/classes/PartyNetwork/methods/partynetwork_disconnectchatcontrol)


## Related topics

- [PartyLocalDevice::DestroyChatControl](/services/playfab/multiplayer/networking/reference/classes/PartyLocalDevice/methods/partylocaldevice_destroychatcontrol.md)
- [PartyChatControl::GetNetworks](/services/playfab/multiplayer/networking/reference/classes/PartyChatControl/methods/partychatcontrol_getnetworks.md)
- [PartyNetwork::GetChatControls](/services/playfab/multiplayer/networking/reference/classes/PartyNetwork/methods/partynetwork_getchatcontrols.md)
- [PartyRemoveLocalUserCompletedStateChange](/services/playfab/multiplayer/networking/reference/structs/partyremovelocalusercompletedstatechange.md)
- [PartyNetwork::LeaveNetwork](/services/playfab/multiplayer/networking/reference/classes/PartyNetwork/methods/partynetwork_leavenetwork.md)
