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));
 }
Exemple #2
0
    protected IEnumerator GetChipSlotInfo()
    {
        GameWebAPI.RespDataUS_GetMonsterList.UserMonsterList[] monsterList = new GameWebAPI.RespDataUS_GetMonsterList.UserMonsterList[]
        {
            this.GetUserMonsterData()
        };
        GameWebAPI.MonsterSlotInfoListLogic request = ChipDataMng.RequestAPIMonsterSlotInfo(monsterList);
        yield return(AppCoroutine.Start(request.Run(new Action(this.EndSuccess), delegate(Exception noop)
        {
            RestrictionInput.EndLoad();
            this.ClosePanel(true);
        }, null), false));

        yield break;
    }