public void psstRetOneCardGroupInfoUserCmd(stRetOneCardGroupInfoUserCmd msg) { if (m_id2CardGroupDic.ContainsKey(msg.index)) { m_id2CardGroupDic[msg.index].m_cardList = msg.id; } }
protected void psstRetOneCardGroupInfoUserCmd(ByteBuffer msg) { stRetOneCardGroupInfoUserCmd cmd = new stRetOneCardGroupInfoUserCmd(); cmd.derialize(msg); // 更新数据 Ctx.m_instance.m_dataPlayer.m_dataCard.psstRetOneCardGroupInfoUserCmd(cmd); // 更新界面 IUITuJian uiSC = Ctx.m_instance.m_uiMgr.getForm(UIFormID.eUITuJian) as IUITuJian; if (uiSC != null && uiSC.isVisible()) { uiSC.psstRetOneCardGroupInfoUserCmd(cmd.index, cmd.id); } }