Skip to main content
特定于 EndpointMessageReceived 类型状态更改的信息。

语法

成员

network   PartyNetwork* 包含接收消息的终结点的网络。 senderEndpoint   PartyEndpoint* 发送消息的终结点。 receiverEndpointCount   uint32_t 消息发往的本地终结点的数量。此值将始终大于零。如果发送方在导致此状态更改的 PartyLocalEndpoint::SendMessage() 调用中指定了空的目标终结点数组,则 receiverEndpointCountreceiverEndpoints 将包含所有本地终结点。 receiverEndpoints   PartyLocalEndpointArray
大小为 receiverEndpointCount 的数组
消息发往的本地终结点。此数组永远不会为空。如果发送方在导致此状态更改的 PartyLocalEndpoint::SendMessage() 调用中指定了空的目标终结点数组,则 receiverEndpointCountreceiverEndpoints 将包含所有本地终结点。 options   PartyMessageReceivedOptions 用于发送消息的选项。 messageSize   uint32_t 消息的大小(以字节为单位)。 messageBuffer   const void*
大小为 messageSize 字节的缓冲区
消息缓冲区。

要求

标头: Party.h

另请参阅

Party 成员
PartyLocalEndpoint::SendMessage
最后修改于 2026年8月13日