| | |
| | | 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);
|
| | |
| | |
|
| | |
|
| | | public bool IsShowPanel = false;
|
| | |
|
| | | private const int Redpoint_key1 = 20907;
|
| | | public Redpoint redPointStre1 = new Redpoint(209, Redpoint_key1);//限时礼包红点
|
| | | public bool IsOpen
|
| | | {
|
| | | get
|
| | |
| | | }
|
| | | }
|
| | |
|
| | | private void IsShowTip()
|
| | | public void IsShowTip()
|
| | | {
|
| | | int GetDayOfYear = DateTime.Now.DayOfYear;
|
| | | int day = LocalSave.GetInt("IsOpenLimitedTime");
|
| | |
| | | {
|
| | | LocalSave.SetInt("IsOpenLimitedTime", GetDayOfYear);
|
| | | IsShowPanel = true;
|
| | | redPointStre1.state = RedPointState.Simple;
|
| | | }
|
| | | else
|
| | | {
|
| | | redPointStre1.state = RedPointState.None;
|
| | | }
|
| | |
|
| | | }
|