| | |
| | | OpenServerActivityCenter.Instance.Register(7, this);
|
| | | OperationTimeHepler.Instance.operationEndEvent += OperationEndEvent;
|
| | | }
|
| | |
|
| | |
|
| | |
|
| | | public bool IsShowPanel = false;
|
| | | private const int Redpoint_key1 = 20907;
|
| | | public Redpoint redPointStre1 = new Redpoint(209, Redpoint_key1);//限时礼包红点
|
| | | public bool IsOpen
|
| | |
| | |
|
| | | public void OnBeforePlayerDataInitialize()
|
| | | {
|
| | | IsShowPanel = false;
|
| | | DicBuyPackage.Clear();
|
| | | }
|
| | | public override void UnInit()
|
| | |
| | | bool Isbool = IsExpired();
|
| | | if (day != GetDayOfYear && IsExpired())
|
| | | {
|
| | | LocalSave.SetInt("IsOpenLimitedTime", GetDayOfYear);
|
| | | IsShowPanel = true;
|
| | | // LocalSave.SetInt("IsOpenLimitedTime", GetDayOfYear);
|
| | | redPointStre1.state = RedPointState.Simple;
|
| | | }
|
| | | else
|