NetworkingPeer.LeftLobbyCleanup C# (CSharp) Method

LeftLobbyCleanup() private method

Called at disconnect/leavelobby etc. This CAN also be called when we are not in a lobby (e.g. disconnect from room)
Calls callback method OnLeftLobby if this client was in a lobby initially. Clears the lobby's game lists.
private LeftLobbyCleanup ( ) : void
return void
    private void LeftLobbyCleanup()
    {
        this.mGameList = new Dictionary<string, RoomInfo>();
        this.mGameListCopy = new RoomInfo[0];

        if (insideLobby)
        {
            this.insideLobby = false;
            SendMonoMessage(PhotonNetworkingMessage.OnLeftLobby);
        }
    }
NetworkingPeer