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

# OnNetworkJoined

> Party Unity SDK 中 PlayFabMultiplayerManager 上的 OnNetworkJoined 事件参考，当本地玩家成功加入 Party 网络时触发。

在本地玩家加入网络时触发。

## 参数

### sender (object)

引发该事件的类。

### networkId (string)

标识网络的字符串。将此字符串提供给其他玩家，以允许他们连接到该网络。


## Related topics

- [PlayFabMultiplayerManager.NetworkId](https://docs.xbox.com/zh-CN/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/properties/playfabunitynetworkid.md)
- [Party Unity 插件快速入门](https://docs.xbox.com/zh-CN/services/playfab/multiplayer/networking/party-unity-plugin-quickstart.md)
- [PlayFabMultiplayerManager 类](https://docs.xbox.com/zh-CN/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/index.md)
- [PartyChatControlJoinedNetworkStateChange](https://docs.xbox.com/zh-CN/services/playfab/multiplayer/networking/reference/structs/partychatcontroljoinednetworkstatechange.md)
- [PartyRemoteDeviceJoinedNetworkStateChange](https://docs.xbox.com/zh-CN/services/playfab/multiplayer/networking/reference/structs/partyremotedevicejoinednetworkstatechange.md)
