Developer Documentation

On Room Joined

On Room Joined

Handles Room Joined events which are called once the local user has successfully joined a room. Connect a Bind to On Room Joined delegate node to handle this event for the specified room.

Important

The resulting peer id is only valid in the context of this room. This event will only be called for the local user.

Tip

There might be issues if you create the event manually. Instead, drop a Bind to On Room Joined 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

NameTypeDescription
DelegatedelegateCall the Bind to On Room Joined node to get this event triggered once the room has been joined.

Outputs

NameTypeDescription
Execexec
Peer IdintegerThe id of the peer that joined the room. This is the self peer id, i.e. the peer id of the local player. This peer id is only valid in the context of this room!
Room User DataArray of byteThe user data stored in the room for the peer as an array of bytes.
RoomOdin Room Object ReferenceThe Odin Room to which the peer joined.