#[repr(C)]pub struct _tagEOS_Lobby_RTCRoomConnectionChangedCallbackInfo {
pub ClientData: *mut c_void,
pub LobbyId: EOS_LobbyId,
pub LocalUserId: EOS_ProductUserId,
pub bIsConnected: EOS_Bool,
pub DisconnectReason: EOS_EResult,
}Expand description
Output parameters for the EOS_Lobby_AddNotifyRTCRoomConnectionChanged function.
Fields§
§ClientData: *mut c_voidContext that was passed into EOS_Lobby_AddNotifyRTCRoomConnectionChanged
LobbyId: EOS_LobbyIdThe ID of the lobby which had a RTC Room connection state change
LocalUserId: EOS_ProductUserIdThe Product User ID of the local user who is in the lobby and registered for notifications
bIsConnected: EOS_BoolThe new connection state of the room
DisconnectReason: EOS_EResultIf 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.
Trait Implementations§
Source§impl Clone for _tagEOS_Lobby_RTCRoomConnectionChangedCallbackInfo
impl Clone for _tagEOS_Lobby_RTCRoomConnectionChangedCallbackInfo
Source§fn clone(&self) -> _tagEOS_Lobby_RTCRoomConnectionChangedCallbackInfo
fn clone(&self) -> _tagEOS_Lobby_RTCRoomConnectionChangedCallbackInfo
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more