Our new developer documentation is now available. Please check it out!
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
Name | Type | Description |
---|---|---|
Delegate | delegate | Call the Bind to On Room Joined node to get this event triggered once the room has been joined. |
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. This peer id is only valid in the context of this room! |
Room User Data | Array of byte | The user data stored in the room for the peer as an array of bytes. |
Room | Odin Room Object Reference | The Odin Room to which the peer joined. |