少年修仙传客户端代码仓库
client_linchunjie
2018-09-18 ff903365659ed5fd80e52dfa866ae896fa59801e
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;
    }
}