public override void OnMessage(WndMsgID msgID, UIMsgData data)
        {
            switch (msgID)
            {
            case WndMsgID.WND_MSG_LEGENDCUP_CREATETYPE_SHOW:
            {
                SetVisible(true);

                if (m_wndView != null)
                {
                    LegendCupJudgeWarData cmdData = (LegendCupJudgeWarData)data;
                    m_wndView.OnShowCreateTypeWnd();
                }
            }
            break;

            case WndMsgID.WND_MSG_LEGENDCUP_MSGBOXCREATE_SHOW:
            {
                if (m_wndView != null)
                {
                    UnloadView();
                }
            }
            break;

            default:
                break;
            }
        }
Beispiel #2
0
 public void OnShowJudgeWnd(LegendCupJudgeWarData judgeData)
 {
     m_judegeData    = judgeData;
     Kin1WinDes.text = String.Format("{0}<color=#a5dbef>{1}</color>", ULocalizationService.Instance.Get("UIView", "LegendCupJudge", "WinKin"), judgeData.szKin1Name);
     Kin2WinDes.text = String.Format("{0}<color=#a5dbef>{1}</color>", ULocalizationService.Instance.Get("UIView", "LegendCupJudge", "WinKin"), judgeData.szKin2Name);
     Kin1WinGo.SetActive(false);
     Kin2WinGo.SetActive(false);
     AllKnockoutGo.SetActive(false);
 }
Beispiel #3
0
        public override void OnMessage(WndMsgID msgID, UIMsgData data)
        {
            switch (msgID)
            {
            case WndMsgID.WND_MSG_LEGENDCUP_JUDGE_SHOW:
            {
                SetVisible(true);

                if (m_wndView != null)
                {
                    LegendCupJudgeWarData cmdData = (LegendCupJudgeWarData)data;
                    m_wndView.OnShowJudgeWnd(cmdData);
                }
            }
            break;

            default:
                break;
            }
        }