示例#1
0
文件: MailWnd.cs 项目: zwong91/Titan
        public void onRecvMailFastRecvPlus(WndMsgID msgID, UIMsgData msgData)
        {
            UIMsgCmdData           cmdData = (UIMsgCmdData)msgData;
            IntPtrVaArgParseHelper helper  = new IntPtrVaArgParseHelper(cmdData.ptrParam, cmdData.nPtrLen);

            GameLogic.gameview_mail_req_fastrecvplus fastRecvData = helper.get <GameLogic.gameview_mail_req_fastrecvplus>();

            StopFastRecvPlus(false);
        }
示例#2
0
文件: MailWnd.cs 项目: zwong91/Titan
        public void OnRecvPlusBtnClick()
        {
            if (m_nMailID <= 0)
            {
                return;
            }

            recvBtn.gameObject.SetActive(false);

            if (LogicDataCenter.mailDataManager.PlusMailList.Contains(m_nMailID))
            {
                LogicDataCenter.mailDataManager.PlusMailList.Remove(m_nMailID);
            }

            GameLogic.gameview_mail_req_fastrecvplus cmdData = new GameLogic.gameview_mail_req_fastrecvplus();
            cmdData.nMailID = m_nMailID;
            ViewEventHelper.Instance.SendCommand <GameLogic.gameview_mail_req_fastrecvplus>(GameLogicDef.GVIEWCMD_MAIL_REQUESTFASTRECVPLUS, ref cmdData);
        }