private static void OnResponseDeck(GameWebAPI.RespData_ColosseumDeckInfoLogic response)
 {
     if (response.partyMonsters != null)
     {
         List <string> list = new List <string>();
         for (int i = 0; i < response.partyMonsters.Length; i++)
         {
             list.Add(response.partyMonsters[i].userMonsterId);
         }
         ClassSingleton <MonsterUserDataMng> .Instance.SetColosseumDeckUserMonster(list.ToArray());
     }
 }
 public IEnumerator RequestOpponentColosseumDeck(GameWebAPI.ColosseumDeckInfoLogic request, Action <GameWebAPI.RespData_ColosseumDeckInfoLogic> onCompleted)
 {
     GameWebAPI.RespData_ColosseumDeckInfoLogic opponentDeck = null;
     request.OnReceived = delegate(GameWebAPI.RespData_ColosseumDeckInfoLogic response)
     {
         opponentDeck = response;
     };
     return(request.Run(delegate()
     {
         onCompleted(opponentDeck);
     }, null, null));
 }
 public void OnReceivedOpponentColosseumDeck(GameWebAPI.RespData_ColosseumDeckInfoLogic opponentDeck)
 {
     global::Debug.Log("OnReceivedOpponentColosseumDeck");
     if (opponentDeck.GetResultCodeEnum != GameWebAPI.RespData_ColosseumDeckInfoLogic.ResultCode.SUCCESS)
     {
         this.network.StopMatching();
     }
     else
     {
         this.matchingResult.opponentData.monsterData    = opponentDeck.partyMonsters;
         this.matchingResult.opponentMonsterIconDataList = new List <MonsterData>();
         int[] array = new int[opponentDeck.partyMonsters.Length];
         for (int i = 0; i < opponentDeck.partyMonsters.Length; i++)
         {
             int num = int.Parse(opponentDeck.partyMonsters[i].userMonsterId);
             array[i] = num;
             MonsterData item = MonsterDataMng.Instance().CreateMonsterDataByMID(opponentDeck.partyMonsters[i].monsterId);
             this.matchingResult.opponentMonsterIconDataList.Add(item);
         }
         this.httpRequestRoutine = base.StartCoroutine(this.network.GetOpponentMonsterChipSlot(array));
     }
 }