// 回归剩余卡牌数量 protected void psstRetLeftCardLibNumUserCmd(ByteBuffer msg) { stRetLeftCardLibNumUserCmd cmd = new stRetLeftCardLibNumUserCmd(); cmd.derialize(msg); Ctx.m_instance.m_dataPlayer.m_dzData.m_playerArr[(int)EnDZPlayer.ePlayerSelf].m_leftCardNum = cmd.selfNum; Ctx.m_instance.m_dataPlayer.m_dzData.m_playerArr[(int)EnDZPlayer.ePlayerEnemy].m_leftCardNum = cmd.otherNum; UISceneDZ uiDZ = Ctx.m_instance.m_uiSceneMgr.getSceneUI <UISceneDZ>(UISceneFormID.eUISceneDZ); if (uiDZ != null && uiDZ.isVisible()) { uiDZ.psstRetLeftCardLibNumUserCmd(cmd); } }