少年修仙传客户端代码仓库
client_linchunjie
2018-11-10 3ea9edc13df124b2d64bc35dbb93adafb9509575
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)