예제 #1
0
 public void RequestGamesList()
 {
     if (SocketClient.ActiveGameData.Connected)
     {
         CurrentLobbyProtocol gameRequest = new CurrentLobbyProtocol();
         SocketClient.ActiveSocket.QueueMessage(gameRequest);
     }
 }
    private void SetAvailableGames(BaseProtocol protocol)
    {
        currentLobbyData = protocol as CurrentLobbyProtocol;

        print("Display match..." + currentLobbyData.GetJson(out int _));;


        BuildMatchSelect( );
    }