少年修仙传客户端代码仓库
client_Zxw
2018-11-10 2768bc57c1dcdc33a12f2f3fbb73504aa4b9f3f5
System/MainInterfacePanel/FeatureNoticeModel.cs
@@ -361,11 +361,15 @@
        var mapConfig = Config.Instance.Get<MapConfig>(mapId);
        return mapConfig != null && mapConfig.MapFBType != 0;
    }
    List<FunctionForecastConfig> functionForecastValue = new List<FunctionForecastConfig>();
    public int GetOpenLv(int Inedx)
    {
        int lv = 0;
        var functionForecastValue = Config.Instance.GetAllValues<FunctionForecastConfig>();
        if (functionForecastValue.Count <= 0)
        {
            functionForecastValue= Config.Instance.GetAllValues<FunctionForecastConfig>();
        }
       // var functionForecastValue = Config.Instance.GetAllValues<FunctionForecastConfig>();
        foreach (var value in functionForecastValue)
        {
            if (value.OpenNumber == Inedx)