Exemple #1
0
        private void ClickCoalesce(GameObject obj)
        {
            if (null != obj)
            {
                if (!this.isCanCoalesce)
                {
                    Singleton <TipView> .Instance.ShowViewSetText("缺少一级符文或金钱条件不满足!!!", 1f);

                    return;
                }
                if (RunesCtrl.GetInstance().runestate == RunesInlayState.Doing)
                {
                    return;
                }
                RunesCtrl.GetInstance().runestate = RunesInlayState.Doing;
                SendMsgManager.SendMsgParam param = new SendMsgManager.SendMsgParam(true, "正在合成", false, 15f);
                SendMsgManager.Instance.SendMsg(MobaGameCode.Coalesce, param, new object[]
                {
                    this.runesend.ModelID,
                    this.runesend.Count1,
                    this.runesend.Count2
                });
                RunesCtrl.GetInstance().modelID = this.modelID_2;
            }
        }
Exemple #2
0
 private void OnMsg_coalesceviewAfterCoalesce(MobaMessage msg)
 {
     if (msg != null)
     {
         this.ReFreshOwned();
         this.ResetSectionState();
         RunesCtrl.GetInstance().runestate = RunesInlayState.Nothing;
     }
 }
Exemple #3
0
 private void OnMsg_coalesceviewAfterPurchase(MobaMessage msg)
 {
     if (msg != null)
     {
         this.ReFreshOwned();
         this.CountRunesExp = this.countRunesExp;
         RunesCtrl.GetInstance().runestate = RunesInlayState.Nothing;
     }
 }
Exemple #4
0
        private void RefreshDataUI()
        {
            this.finalmiddleList.Clear();
            this.finalhighList.Clear();
            this.SetBtnState();
            this.confirmBG.gameObject.SetActive(false);
            this.coalesceBG.gameObject.SetActive(true);
            Singleton <MenuTopBarView> .Instance.RefreshUI();

            RunesCtrl.GetInstance().runestate = RunesInlayState.Nothing;
        }
Exemple #5
0
 private void ClickConfirm(GameObject obj)
 {
     if (null != obj)
     {
         if (RunesCtrl.GetInstance().runestate == RunesInlayState.Doing)
         {
             return;
         }
         RunesCtrl.GetInstance().runestate = RunesInlayState.Doing;
         SendMsgManager.SendMsgParam param = new SendMsgManager.SendMsgParam(true, "正在合成...", false, 15f);
         SendMsgManager.Instance.SendMsg(MobaGameCode.OneKeyCompose, param, new object[0]);
     }
 }