public void OnReceivedOpponentMonsterChipSlot(GameWebAPI.RespDataCS_MonsterSlotInfoListLogic slotInfoList)
        {
            global::Debug.Log("OnReceivedOpponentMonsterChipSlot");
            List <GameWebAPI.RespDataCS_MonsterSlotInfoListLogic.Equip> list = null;

            if (slotInfoList != null && slotInfoList.slotInfo != null)
            {
                list = new List <GameWebAPI.RespDataCS_MonsterSlotInfoListLogic.Equip>();
                for (int i = 0; i < slotInfoList.slotInfo.Length; i++)
                {
                    if (slotInfoList.slotInfo[i] != null && slotInfoList.slotInfo[i].equip != null)
                    {
                        list.AddRange(slotInfoList.slotInfo[i].equip);
                    }
                }
            }
            if (list != null && 0 < list.Count)
            {
                int[] array = new int[list.Count];
                for (int j = 0; j < list.Count; j++)
                {
                    array[j] = list[j].userChipId;
                }
                this.httpRequestRoutine = base.StartCoroutine(this.network.GetOpponentUserChipInfo(array));
            }
            else
            {
                this.matchingResult.myData.monsterData = this.GetMyMonsterNetworkData();
                this.network.StartBattle();
            }
        }
 public IEnumerator RequestOpponentMonsterChipSlot(GameWebAPI.MonsterSlotInfoListLogic request, Action <GameWebAPI.RespDataCS_MonsterSlotInfoListLogic> onCompleted)
 {
     GameWebAPI.RespDataCS_MonsterSlotInfoListLogic monsterSlotInfoList = null;
     request.OnReceived = delegate(GameWebAPI.RespDataCS_MonsterSlotInfoListLogic response)
     {
         monsterSlotInfoList = response;
     };
     return(request.Run(delegate()
     {
         onCompleted(monsterSlotInfoList);
     }, null, null));
 }