EOS API reference page for EOS_Lobby_RTCRoomConnectionChangedCallbackInfo

2 mins to read

This data structure is part of the Lobby Interface.



void* ClientDataContext that was passed into EOS_Lobby_AddNotifyRTCRoomConnectionChanged
EOS_LobbyId LobbyIdThe ID of the lobby which had a RTC Room connection state change
EOS_ProductUserId LocalUserIdThe Product User ID of the local user who is in the lobby and registered for notifications
EOS_Bool bIsConnectedThe new connection state of the room
EOS_EResult DisconnectReasonIf bIsConnected is EOS_FALSE, this result will be the reason we were disconnected. EOS_Success: The room was left locally. This may be because: the associated lobby was Left or Destroyed, the connection to the lobby was interrupted, or because the SDK is being shutdown. If the lobby connection returns (lobby did not permanently go away), we will reconnect. EOS_NoConnection: There was a network issue connecting to the server. We will attempt to reconnect soon. EOS_RTC_UserKicked: The user has been kicked by the server. We will not reconnect. EOS_RTC_UserBanned: The user has been banned by the server. We will not reconnect. EOS_ServiceFailure: A known error occurred during interaction with the server. We will attempt to reconnect soon. EOS_UnexpectedError: Unexpected error. We will attempt to reconnect soon.