Пример #1
0
    /********************探险任务完成有奖励尚未领取************************~ToT~*/

    /// <summary>
    /// 探险任务完成有奖励尚未领取
    /// </summary>
    /// <returns></returns>
    public bool CheckExploreAward()
    {
        bool _result         = false;
        var  _exploreTaskMap = m_ObjectSelf.GetAllExploreTaskData();

        foreach (var stageList in _exploreTaskMap.Values)
        {
            foreach (var stageData in stageList.stagetx)
            {
                _result = UI_ExploreModule.GetExploreTaskState(stageData) == EXPLORE_TASK_STATE.ExploringOver;
                if (_result)
                {
                    break;
                }
            }
            if (_result)
            {
                break;
            }
        }
        return(_result);
    }