Beispiel #1
0
 public void psstRetCardAttackFailUserCmd(stRetCardAttackFailUserCmd cmd)
 {
     if (m_sceneDZData.m_dragDropData.getCurDragItem() != null && m_sceneDZData.m_dragDropData.getCurDragItem().sceneCardItem.svrCard.qwThisID == cmd.dwAttThisID)
     {
         m_sceneDZData.m_dragDropData.getCurDragItem().ioControl.backCard2Orig();
     }
 }
Beispiel #2
0
        // 法术攻击失败
        protected void psstRetCardAttackFailUserCmd(ByteBuffer bu)
        {
            stRetCardAttackFailUserCmd cmd = new stRetCardAttackFailUserCmd();

            cmd.derialize(bu);
            // 将不能使用的法术牌退回去
            UISceneDZ uiSceneDZ = Ctx.m_instance.m_uiSceneMgr.getSceneUI <UISceneDZ>(UISceneFormID.eUISceneDZ);

            if (uiSceneDZ != null && uiSceneDZ.isVisible())
            {
                uiSceneDZ.psstRetCardAttackFailUserCmd(cmd);
            }
        }
Beispiel #3
0
        protected void testSendToSelf()
        {
            stRetCardAttackFailUserCmd cmd = new stRetCardAttackFailUserCmd();

            UtilMsg.sendMsg(cmd, false);
        }
Beispiel #4
0
 public void psstRetCardAttackFailUserCmd(stRetCardAttackFailUserCmd cmd)
 {
     m_sceneDZData.m_sceneDZAreaArr[(int)EnDZPlayer.ePlayerSelf].psstRetCardAttackFailUserCmd(cmd);
 }