Our new developer documentation is now available. Please check it out!
On Message Received
Called whenever another peer has sent a message. Connect to a Bind to On Message Received delegate node to handle this event for the specified room.
Tip
There might be issues if you create the event manually. Instead, drop a Bind to On Media Removed node into the blueprint, drag out from Event until you see the red line. Then release the mouse button and in the drop down choose Add Custom Event
. Unreal will create the correct event for you then.
Inputs
Name | Type | Description |
---|---|---|
Delegate | delegate | Connect to a Bind to On Message Received delegate node to get this event triggered when another peer sent a message. |
Outputs
Name | Type | Description |
---|---|---|
Exec | exec | |
Peer Id | integer | The id of the peer that sent the message. |
Data | Array of byte | The message payload data as an array of bytes. |
Room | Room Object Reference | The Room object reference of the room the message was sent in. |