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.

Warning

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 StateintegerThe integer value of the connection state. 0 = Connecting 1 = Connected 2 = Disconnected
RoomRoom Object ReferenceThe Room object reference that the user just joined.