少年修仙传客户端代码仓库
client_Hale
2018-08-23 35578d649a7aa913c6914d6c97e6dbc80e9c9ca0
System/Vip/LimitedTimePackageModel.cs
@@ -15,7 +15,6 @@
    public Dictionary<int, int> DicBuyPackage = new Dictionary<int, int>();
    public event Action UpdateLimitedTimePackageItem;
    public event Action<int> onStateUpate;
    public override void Init()
    {
        OpenServerActivityCenter.Instance.Register(7, this);
@@ -25,7 +24,8 @@
    
    public bool IsShowPanel = false;
    private const int Redpoint_key1 = 20907;
    public Redpoint redPointStre1 = new Redpoint(209, Redpoint_key1);//限时礼包红点
    public bool IsOpen
    {
        get
@@ -82,7 +82,7 @@
        }
    }
    private void IsShowTip()
    public void IsShowTip()
    {
        int GetDayOfYear = DateTime.Now.DayOfYear;
        int day = LocalSave.GetInt("IsOpenLimitedTime");
@@ -91,6 +91,11 @@
        {
            LocalSave.SetInt("IsOpenLimitedTime", GetDayOfYear);
            IsShowPanel = true;
            redPointStre1.state = RedPointState.Simple;
        }
        else
        {
            redPointStre1.state = RedPointState.None;
        }
    }