EOS_Lobby_RTCRoomConnectionChangedCallbackInfo

EOS API reference page for EOS_Lobby_RTCRoomConnectionChangedCallbackInfo

実装方法を選んでください。

C

C#

This data structure is part of the Lobby Interface.

Properties

EOS_Lobby_RTCRoomConnectionChangedCallbackInfo

Property

Value

void* ClientData

Context that was passed into EOS_Lobby_AddNotifyRTCRoomConnectionChanged

EOS_LobbyId LobbyId

The ID of the lobby which had a RTC Room connection state change

EOS_ProductUserId LocalUserId

The Product User ID of the local user who is in the lobby and registered for notifications

EOS_Bool bIsConnected

The new connection state of the room

EOS_EResult DisconnectReason

If 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.

Related API Members

This data structure is part of the Lobby Interface.

Properties

Lobby.RTCRoomConnectionChangedCallbackInfo

Property

Value

object ClientData

Context that was passed into EOS_Lobby_AddNotifyRTCRoomConnectionChanged

string LobbyId

The ID of the lobby which had a RTC Room connection state change

ProductUserId LocalUserId

The Product User ID of the local user who is in the lobby and registered for notifications

bool IsConnected

The new connection state of the room

Result DisconnectReason

If 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.

Related API Members

タグ