| | |
| | | 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);
|
| | |
| | | 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();
|
| | |
| | | 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;
|
| | |
| | | {
|
| | | 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;
|
| | |
| | | {
|
| | | 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;
|
| | |
| | | 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>();
|