Developer Documentation

On Connection State Changed

On Connection State Changed

Handles Connection State Changed events which are called when the connection state changed (i.e. a disconnect to the server). Connect a Bind to On Connection State Changed 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 Onnection State 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

NameTypeDescription
DelegatedelegateBind to a Bind to On Connection State Changed delegate node to get this event triggered once the room has been joined.

Outputs

NameTypeDescription
Execexec
Connection StateenumThe enum value of the connection state. Possible values are Disconnected, Disconnecting, Connecting, Connected.
RoomRoom Object ReferenceThe Room object reference for which the connection changed event occured.