少年修仙传客户端代码仓库
client_Wu Xijin
2019-02-13 2df58aeacbf1177ec01167bdeccfe89d6a8d5804
System/MainInterfacePanel/FeatureNoticeModel.cs
@@ -89,7 +89,7 @@
            var configs = Config.Instance.GetAllKeys<FunctionForecastConfig>();
            foreach (var key in configs)
            {
                var functionForecastConfig = Config.Instance.Get<FunctionForecastConfig>(key);
                var functionForecastConfig = FunctionForecastConfig.Get(key);
                if (functionForecastConfig != null && functionForecastConfig.Display == 1)
                {
                    FunctionList.Add(functionForecastConfig);
@@ -105,7 +105,7 @@
            var configs = Config.Instance.GetAllKeys<FunctionForecastConfig>();
            foreach (var key in configs)
            {
                var functionForecastConfig = Config.Instance.Get<FunctionForecastConfig>(key);
                var functionForecastConfig = FunctionForecastConfig.Get(key);
                if (!DicAwardItem.ContainsKey(functionForecastConfig.FuncId) && functionForecastConfig.Display == 1)
                {
                    ImpactRankModel.RankAwardItem _award = new ImpactRankModel.RankAwardItem();
@@ -141,7 +141,7 @@
            var configs = Config.Instance.GetAllKeys<FunctionForecastConfig>();
            foreach (var key in configs)
            {
                var functionForecastConfig = Config.Instance.Get<FunctionForecastConfig>(key);
                var functionForecastConfig = FunctionForecastConfig.Get(key);
                if (!DicRedPoint.ContainsKey(functionForecastConfig.FuncId) && functionForecastConfig.Display == 1)
                {
                    int RedPointkey = Redpoint_key1 * 10000 + functionForecastConfig.FuncId;
@@ -191,7 +191,7 @@
        {
            if (!FuncOpen.Instance.IsFuncOpen(FunctionList[i].FuncId))
            {
                var functionForecastConfig = Config.Instance.Get<FunctionForecastConfig>(FunctionList[i].FuncId);
                var functionForecastConfig = FunctionForecastConfig.Get(FunctionList[i].FuncId);
                if (functionForecastConfig.FrameLevel <= 0)
                {
                    yield break;
@@ -219,7 +219,7 @@
        {
            if (!FuncOpen.Instance.IsFuncOpen(FunctionList[i].FuncId))
            {
                var functionForecastConfig = Config.Instance.Get<FunctionForecastConfig>(FunctionList[i].FuncId);
                var functionForecastConfig = FunctionForecastConfig.Get(FunctionList[i].FuncId);
                if (functionForecastConfig.FrameLevel <= 0)
                {
                    return false;
@@ -238,7 +238,7 @@
    private bool IsDungeon()
    {
        var mapId = PlayerDatas.Instance.baseData.MapID;
        var mapConfig = Config.Instance.Get<MapConfig>(mapId);
        var mapConfig = MapConfig.Get(mapId);
        return mapConfig != null && mapConfig.MapFBType != 0;
    }
    List<FunctionForecastConfig> functionForecastValue = new List<FunctionForecastConfig>();