//深渊开启记录列表ack.. private static void msg_SC_GET_ABYSS_OPEN_REC_ACK(int iMsgID, ref CMessage msg) { CliProto.SC_GET_ABYSS_OPEN_REC_ACK refMsg = (CliProto.SC_GET_ABYSS_OPEN_REC_ACK)msg; sdActGameMgr.Instance.ResetLapBossOpenRecordInfo(refMsg); GameObject wnd = sdGameLevel.instance.NGUIRoot; if (wnd) { sdUILapBossWnd bossWnd = wnd.GetComponentInChildren <sdUILapBossWnd>(); if (bossWnd) { bossWnd.RefreshLBItemListPage(); bossWnd.RefreshRKItemListPage(); bossWnd.RefreshRecordItemListPage(); } } }
public void ResetLapBossOpenRecordInfo(CliProto.SC_GET_ABYSS_OPEN_REC_ACK msg) { m_LapBossRecordInfo.Clear(); CliProto.SC_GET_ABYSS_OPEN_REC_ACK refMSG = msg; int iCount = (int)refMSG.m_Info.m_Count; for (int i = 0; i < iCount; i++) { UInt64 uuDBID = refMSG.m_Info.m_Records[i].m_Abydbid; if (uuDBID != UInt64.MaxValue) { SAbyssOpenRecord info = new SAbyssOpenRecord(); info.m_Abydbid = refMSG.m_Info.m_Records[i].m_Abydbid; info.m_AbyTmpid = refMSG.m_Info.m_Records[i].m_AbyTmpid; info.m_Opentime = refMSG.m_Info.m_Records[i].m_Opentime; info.m_Roleid = refMSG.m_Info.m_Records[i].m_Roleid; info.m_Rolename = System.Text.Encoding.UTF8.GetString(refMSG.m_Info.m_Records[i].m_Rolename); m_LapBossRecordInfo[uuDBID] = info; } } }