public void OnWaveFinish(stWaveFinishCopyUserCmd_S cmd)
    {
        m_nLastKillWave = cmd.wave;

        if (false == m_listCompletedWaveId.Contains(cmd.wave))
        {
            m_listCompletedWaveId.Add(cmd.wave);
        }

        //跟新当前阶段
        UpdateCopyTargetStepByCopyWave();

        Engine.Utility.Log.LogGroup("ZCX", "================副本挂机第{0}波死了", cmd.wave);
        Engine.Utility.EventEngine.Instance().DispatchEvent((int)Client.GameEventID.ROBOTCOMBAT_COPYKILLWAVE, new Client.stCopySkillWave()
        {
            waveId = cmd.wave, posIndex = 0
        });
    }
Beispiel #2
0
 public void OnWaveFinish(stWaveFinishCopyUserCmd_S cmd)
 {
     DataManager.Manager <ComBatCopyDataManager>().OnWaveFinish(cmd);
 }