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

# Class PlayFabMultiplayerManager

> Reference for the PlayFabMultiplayerManager class in the Party Unity SDK, the singleton that manages Party networks, chat, and data messaging for a game.

## Properties

| Name | Description |
| - | - |
| [LocalPlayer](https://docs.xbox.com/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/properties/playfabunitylocalplayer.md) | Gets the local player for this client. |
| [LogLevel](https://docs.xbox.com/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/properties/playfabunityloglevel.md) | Gets and sets the amount of logging currently enabled. |
| [NetworkId](https://docs.xbox.com/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/properties/playfabunitynetworkid.md) | Returns NetworkID of the current network to which the player is connected. The other players can use this string to join the network. |
| [RemotePlayers](https://docs.xbox.com/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/properties/playfabunityremoteplayers.md) | Gets the collection of remote players currently joined to the network. |
| [SpeechToTextMode](https://docs.xbox.com/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/properties/playfabunityspeechtotextmode.md) | Gets or sets whether speech-to-text is enabled. |
| [State](https://docs.xbox.com/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/properties/playfabunitystate.md) | Gets the current state of the multiplayer manager. |
| [TextToSpeechMode](https://docs.xbox.com/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/properties/playfabunitytexttospeechmode.md) | Gets or sets whether text-to-speech is enabled. |
| [TranslateChat](https://docs.xbox.com/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/properties/playfabunitytranslatechat.md) | Gets or sets whether incoming chat messages should be translated to local player's language. |

## Methods

| Name | Description |
| - | - |
| [SendChatMessage](https://docs.xbox.com/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/methods/partyunitysendchatmessage.md) | Sends a chat message to a specific list of players (recipients). |
| [SendChatMessageToAllPlayers](https://docs.xbox.com/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/methods/partyunitysendchatmessagetoallplayers.md) | Broadcasts a text message to all players. This API sends a message such that it is guaranteed to arrive and in sequential order. |
| [CreateAndJoinNetwork](https://docs.xbox.com/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/methods/playfabunitycreateandjoinnetwork.md) | Creates a network for players to join. After the player joins the network, they can send the other players that are on the network chat and data messages. |
| [Get](https://docs.xbox.com/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/methods/playfabunityget.md) | Returns a reference to the PlayFabMultiplayerManager singleton instance. |
| [JoinNetwork](https://docs.xbox.com/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/methods/playfabunitycreateandjoinnetwork.md) | Joins this player to the specified network. |
| [LeaveNetwork](https://docs.xbox.com/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/methods/playfabunityleavenetwork.md) | Causes the local player to leave the network. |
| [ResetParty](https://docs.xbox.com/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/methods/playfabunityresetparty.md) | Leaves Network, cleans up and re-initializes all resources related to Party and the corresponding PlayFabMultiplayerManager object. If the object was connected to a network, attempts to reconnect to the same network. |
| [Resume](https://docs.xbox.com/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/methods/playfabunityresume.md) | When the app is resumed, re-initializes Party and all resources of PlayFabMultiplayerManager object. |
| [SendDataMessage](https://docs.xbox.com/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/methods/playfabunitysenddatamessage.md) | Sends a data message to the specified players using the specified delivery options. The most advanced method for sending data messages, allowing the developer more control over how the message is sent. |
| [SendDataMessageToAllPlayers](https://docs.xbox.com/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/methods/playfabunitysenddatamessagetoallplayers.md) | Broadcasts a data message to all players. |
| [Suspend](https://docs.xbox.com/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/methods/playfabunitysuspend.md) | During app suspension, suspends execution of Party and immediately reclaims all resources associated with the PlayFabMultiplayerManager object. |
| [UpdateEntityToken](https://docs.xbox.com/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/methods/playfabunityupdateentitytoken.md) | Updates the Entity token for the current local user. |

## Events

| Name | Description |
| - | - |
| [OnChatMessageReceived](https://docs.xbox.com/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/events/partyunityonchatmessagereceived.md) | Occurs when a chat message is received. |
| [OnDataMessageReceived](https://docs.xbox.com/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/events/partyunityondatamessagereceived.md) | Occurs when a data message is received. |
| [OnDataMessageNoCopyReceived](https://docs.xbox.com/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/events/partyunityondatamessagenocopyreceived.md) | Occurs when a data message is received. |
| [OnErrorEventHandler](https://docs.xbox.com/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/events/partyunityonerroreventhandler.md) | Occurs when there is an error. |
| [OnNetworkChanged](https://docs.xbox.com/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/events/partyunityonnetworkchanged.md) | Occurs when the Network changes. When this event fires you must move all the players to the new network, specified in the newNetworkID so the players can continue to communicate. |
| [OnNetworkJoined](https://docs.xbox.com/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/events/partyunityonnetworkjoined.md) | Occurs when the local player joins the network. |
| [OnNetworkLeft](https://docs.xbox.com/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/events/partyunityonnetworkleft.md) | Occurs when the local player leaves the network. |
| [OnRemotePlayerJoined](https://docs.xbox.com/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/events/partyunityonremoteplayerjoined.md) | Occurs when a remote player joins the network. |
| [OnRemotePlayerLeft](https://docs.xbox.com/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/events/partyunityonremoteplayerleft.md) | Occurs when a remote player leaves the network. |


## Related topics

- [PlayFabMultiplayerManager.Get](https://docs.xbox.com/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/methods/playfabunityget.md)
- [PlayFabMultiplayerManager.State](https://docs.xbox.com/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/properties/playfabunitystate.md)
- [PlayFabMultiplayerManager.Get().Resume](https://docs.xbox.com/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/methods/playfabunityresume.md)
- [PlayFabMultiplayerManager.Get().Suspend](https://docs.xbox.com/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/methods/playfabunitysuspend.md)
- [PlayFabMultiplayerManager.RemotePlayers](https://docs.xbox.com/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/properties/playfabunityremoteplayers.md)
