Skip to content

Commit d3fe0bb

Browse files
committed
adding debug logs
1 parent 817f52d commit d3fe0bb

File tree

1 file changed

+2
-17
lines changed

1 file changed

+2
-17
lines changed

Assets/Scripts/UnityServices/Lobbies/LobbyServiceFacade.cs

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -264,23 +264,8 @@ void OnKickedFromLobby()
264264

265265
void OnLobbyEventConnectionStateChanged(LobbyEventConnectionState lobbyEventConnectionState)
266266
{
267-
switch (lobbyEventConnectionState)
268-
{
269-
case LobbyEventConnectionState.Unknown:
270-
break;
271-
case LobbyEventConnectionState.Unsubscribed:
272-
break;
273-
case LobbyEventConnectionState.Subscribing:
274-
break;
275-
case LobbyEventConnectionState.Subscribed:
276-
break;
277-
case LobbyEventConnectionState.Unsynced:
278-
break;
279-
case LobbyEventConnectionState.Error:
280-
break;
281-
default:
282-
throw new ArgumentOutOfRangeException(nameof(lobbyEventConnectionState), lobbyEventConnectionState, null);
283-
}
267+
268+
Debug.Log($"LobbyEventConnectionState changed to {lobbyEventConnectionState}");
284269
}
285270

286271
async void SubscribeToJoinedLobby()

0 commit comments

Comments
 (0)