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

# PFLobbyDisconnectingReason

> PFLobbyDisconnectingReason values in the PlayFab Multiplayer C++ SDK describing why a client lost access to a lobby, useful for reconnection handling.

Reasons the client no longer has access to the Lobby.

## Syntax

```cpp theme={null}
enum class PFLobbyDisconnectingReason  : uint32_t  
{  
    NoLocalMembers = 0,  
    LobbyDeleted = 1,  
    ConnectionInterruption = 2,  
    LobbyServerLeft = 3,  
}  
```

## Constants

| Constant               | Description                                                                                                                                |
| ---------------------- | ------------------------------------------------------------------------------------------------------------------------------------------ |
| NoLocalMembers         | The client is no longer connected to the lobby because none of the client's local entities are members.                                    |
| LobbyDeleted           | The client is being disconnected from the lobby because the lobby's server owner deleted the lobby or the lobby expired due to inactivity. |
| ConnectionInterruption | The client is being disconnected from the lobby because the client lost connection.                                                        |
| LobbyServerLeft        | The lobby's server owner is being disconnected from the lobby because it left the lobby.                                                   |

## Requirements

**Header:** PFLobby.h

## See also

[PFLobby members](/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/pflobby_members)


## Related topics

- [PFLobbyDisconnectingStateChange](/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/structs/pflobbydisconnectingstatechange.md)
- [PFMultiplayer C/C++ API overview - PFLobby.h](/services/playfab/multiplayer/lobby/playfabmultiplayerreference-cpp/pflobby/pflobby_members.md)
- [LobbyDisconnectingReason](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/LobbyDisconnectingReason.md)
- [PlayFab Multiplayer Unity SDK](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/index.md)
- [LobbyMemberRemovedReason](/services/playfab/multiplayer/lobby/unity-multiplayer-api-reference/PlayFab.Multiplayer/LobbyMemberRemovedReason.md)
