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

# PlayFabMultiplayerManager.Get().SendDataMessageToAllPlayers

> Party Unity SDK 中 PlayFabMultiplayerManager.SendDataMessageToAllPlayers 的参考文档，用于向所有玩家广播二进制数据消息。

# SendDataMessageToAllPlayers

向所有玩家广播数据消息。

## 语法

```csharp theme={null}
public void PlayFabMultiplayerManager.Get().SendDataMessageToAllPlayers(buffer);
```

### 参数

**buffer** byte\[]

包含要发送数据的缓冲区。

## 返回值

无。


## Related topics

- [PlayFabMultiplayerManager.Get().SendChatMessageToAllPlayers](https://docs.xbox.com/zh-CN/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/methods/partyunitysendchatmessagetoallplayers.md)
- [PlayFabMultiplayerManager.Get().SendDataMessage](https://docs.xbox.com/zh-CN/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/methods/playfabunitysenddatamessage.md)
- [PlayFabMultiplayerManager.Get().SendChatMessage](https://docs.xbox.com/zh-CN/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/methods/partyunitysendchatmessage.md)
- [PlayFabMultiplayerManager.Get().ResetParty](https://docs.xbox.com/zh-CN/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/methods/playfabunityresetparty.md)
- [PlayFabMultiplayerManager 类](https://docs.xbox.com/zh-CN/services/playfab/multiplayer/networking/unity-party-api-reference/classes/playfabmultiplayermanager/index.md)
