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); }
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); }