Skip to main content

On Peer User Data Changed

On Peer User Data Changed

Called whenever a peer has changed its user data. Connect to a Bind to On Peer User Data Changed node to handle this event for the specified room.

Inputs

NameTypeDescription
DelegatedelegateConnect to a Bind to On Peer User Data Changed node to get this event triggered once a peer has left the room.

Outputs

NameTypeDescription
Execexec
Peer IdintegerThe id of the peer that joined the room.
User DataarrayThe updated user data of the peer as an array of bytes.
RoomobjectThe Room object reference for which the event was triggered.