On Peer User Data Changed

Called whenever a peer has changed its user data. Connect a Bind to On Peer User Data Changed delegate node to handle this event for the specified room.
Warning
There might be issues if you create the event manually. Instead, drop a Bind to On Peer User Data Changed 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 | Bind to a Bind to On Peer User Data Changed delegate node to get this event triggered once a peer has left the room. |
Outputs
Name | Type | Description |
---|---|---|
Exec | exec | |
Peer Id | integer | The id of the peer that joined the room. This is the self peer id, i.e. the peer id of the local player. |
User Data | Array of byte | The updated user data of the peer as an array of bytes |
Room | Room Object Reference | The Room object reference that the user just joined. |