예제 #1
0
 public void psstRetOneCardGroupInfoUserCmd(stRetOneCardGroupInfoUserCmd msg)
 {
     if (m_id2CardGroupDic.ContainsKey(msg.index))
     {
         m_id2CardGroupDic[msg.index].m_cardList = msg.id;
     }
 }
예제 #2
0
        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);
            }
        }