少年修仙传客户端代码仓库
client_Zxw
2018-09-18 13b42d2a0a8e4a60a7041c2f79424d78da49061c
3625  【前端】功能预告配置,下下个功能不显示
1个文件已修改
10 ■■■■■ 已修改文件
System/MainInterfacePanel/FeatureNoticeModel.cs 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
System/MainInterfacePanel/FeatureNoticeModel.cs
@@ -11,7 +11,7 @@
using Snxxz.UI;
//功能预告红点
public class FeatureNoticeModel : Model, IBeforePlayerDataInitialize, IPlayerLoginOk
public class FeatureNoticeModel : Model, IBeforePlayerDataInitialize, IPlayerLoginOk,ISwitchAccount
{
    public List<FunctionForecastConfig> FunctionList = new List<FunctionForecastConfig>();
    private const int Redpoint_key1 = 38;
@@ -48,6 +48,12 @@
    public override void UnInit()
    {
    }
    public void OnSwitchAccount()
    {
        OpenFuncId = 0;
        RedPointChange = false;
        IsRedPoint = false;
    }
    private void treasureStageUpEvent(int obj)
    {
@@ -269,6 +275,8 @@
        var mapConfig = Config.Instance.Get<MapConfig>(mapId);
        return mapConfig != null && mapConfig.MapFBType != 0;
    }
}