Beispiel #1
0
 public void psstDelEnemyHandCardPropertyUserCmd(stDelEnemyHandCardPropertyUserCmd msg)
 {
     (m_sceneDZData.m_sceneDZAreaArr[(int)EnDZPlayer.ePlayerEnemy].inSceneCardList as EnemyInSceneCardList).removeAndDestroyEmptyCard(msg.index);
 }
Beispiel #2
0
 // 测试删除对方手里一张卡牌
 protected void testDelEnemyHandleCard()
 {
     stDelEnemyHandCardPropertyUserCmd cmd = new stDelEnemyHandCardPropertyUserCmd();
     UtilMsg.sendMsg(cmd, false);
 }
        // 删除对方手里一张卡牌
        protected void psstDelEnemyHandCardPropertyUserCmd(ByteBuffer bu)
        {
            stDelEnemyHandCardPropertyUserCmd cmd = new stDelEnemyHandCardPropertyUserCmd();
            cmd.derialize(bu);

            UISceneDZ uiSceneDZ = Ctx.m_instance.m_uiSceneMgr.getSceneUI<UISceneDZ>(UISceneFormID.eUISceneDZ);
            if (uiSceneDZ != null && uiSceneDZ.isVisible())
            {
                uiSceneDZ.psstDelEnemyHandCardPropertyUserCmd(cmd);
            }
        }