| | |
| | | {
|
| | | GlobalTimeEvent.Instance.secondEvent -= secondEvent;
|
| | | GlobalTimeEvent.Instance.secondEvent += secondEvent;
|
| | | GetDayNow();//获取当前天数
|
| | | SetRedPoint();
|
| | |
|
| | | }
|
| | |
| | |
|
| | | public void WeekPartyInfo(HAA0A_tagMCWeekPartyInfo info)
|
| | | {
|
| | | WeekPartyDayDic.Clear();
|
| | | WeekPartyActionDic.Clear();
|
| | | ResetType = info.ResetType;
|
| | | string[] dateArray = info.StartDate.Split('-');
|
| | | if (dateArray != null && dateArray.Length == 3)
|
| | |
| | | }
|
| | | private void SetRedPointId()//设置红点ID
|
| | | {
|
| | | if (RedPointDic.Count > 0)
|
| | | {
|
| | | return;
|
| | | }
|
| | | RedPointDic.Clear();
|
| | | foreach (var key in WeekPartyDayInfoDic.Keys)
|
| | | {
|
| | | int RedPoint = Redpoint_key1 * 10 + key;
|