// LegendCupWarRecordWnd public void RecvTotalWarRecord(IntPtr ptrParam, int nPtrLen) { IntPtrVaArgParseHelper helper = new IntPtrVaArgParseHelper(ptrParam, nPtrLen); int nCount = helper.get <int>(); m_totalWarRecordList.Clear(); for (int i = 0; i < nCount; ++i) { cmd_kin_warrecord_total_warnode data = helper.get <cmd_kin_warrecord_total_warnode>(); m_totalWarRecordList.Add(data); } UISystem.Instance.SendWndMessage(WndMsgID.WND_MSG_LEGENDCUP_WARRECORD_TOTAL, null); }
public void RecvCupNodeWarRecord(IntPtr ptrParam, int nPtrLen) { IntPtrVaArgParseHelper helper = new IntPtrVaArgParseHelper(ptrParam, nPtrLen); //m_cupNodeRecord = new SingleNodeRecordInfo(); m_cupNodeRecord.headInfo = helper.get <cmd_legendcup_recv_competitionnode_head>(); m_cupNodeRecord.baseInfo = new List <cmd_kin_warrecord_total_warnode>(); for (int i = 0; i < m_cupNodeRecord.headInfo.nCount; ++i) { cmd_kin_warrecord_total_warnode data = helper.get <cmd_kin_warrecord_total_warnode>(); m_cupNodeRecord.baseInfo.Add(data); } UISystem.Instance.SendWndMessage(WndMsgID.WND_MSG_LEGENDCUP_WARRECORD_CUPNODE_RECV, null); }