| | |
| | |
|
| | | private void operationEndEvent(Operation arg1, int arg2)
|
| | | {
|
| | | if (arg1 == Operation.FairyCeremony)
|
| | | if (arg1 == Operation.FairyCeremony || arg1== Operation.NewYearFairyCeremony)
|
| | | {
|
| | | Classify();
|
| | | }
|
| | |
| | |
|
| | | private void operationStartEvent(Operation arg1, int arg2)
|
| | | {
|
| | | if (arg1 == Operation.FairyCeremony)
|
| | | if (arg1 == Operation.FairyCeremony || arg1 == Operation.NewYearFairyCeremony)
|
| | | {
|
| | | Classify();
|
| | | }
|
| | |
| | | AnimationFadeOutDicThree.Add(highBtnRecord.Index, selectCaseRequest);
|
| | | }
|
| | | }
|
| | |
|
| | | }
|
| | | else if (IndexOf == 1)
|
| | | {
|
| | | if (!AnimationFadeOutDicLow.ContainsKey(highBtnRecord.Index) && OperationTimeHepler.Instance.SatisfyOpenCondition(Operation.NewYearFairyCeremony))//精灵盛典
|
| | | {
|
| | | if (AnimationFadeOutDicLow.Count < 6)//------第二层
|
| | | {
|
| | | SelectCaseRequest selectCaseRequest = new SelectCaseRequest();
|
| | | selectCaseRequest.Tran = m_GroupIndex_Low.GetChild(i);
|
| | | selectCaseRequest.IsNagaaki = highBtnRecord.IsNagaaki;
|
| | | selectCaseRequest.Index = highBtnRecord.Index;
|
| | | AnimationFadeOutDicLow.Add(highBtnRecord.Index, selectCaseRequest);
|
| | | }
|
| | | else//------第三层
|
| | | {
|
| | | SelectCaseRequest selectCaseRequest = new SelectCaseRequest();
|
| | | selectCaseRequest.Tran = m_GroupIndex_Low.GetChild(i);
|
| | | selectCaseRequest.IsNagaaki = highBtnRecord.IsNagaaki;
|
| | | selectCaseRequest.Index = highBtnRecord.Index;
|
| | | AnimationFadeOutDicThree.Add(highBtnRecord.Index, selectCaseRequest);
|
| | | }
|
| | | }
|
| | | }
|
| | | else if (IndexOf == 2)
|
| | | {
|
| | | var _funcOrder = 0;
|
| | | if (OpenServerActivityCenter.Instance.IsAnyActivityOpen(out _funcOrder))//精彩活动
|
| | |
| | | }
|
| | | }
|
| | | }
|
| | |
|
| | | }
|
| | | else if (IndexOf == 2)
|
| | | else if (IndexOf == 3)
|
| | | {
|
| | | bool Isopen = impactRankModel.IsInImpactRank;
|
| | | if (!AnimationFadeOutDicLow.ContainsKey(highBtnRecord.Index) && Isopen)//全民冲榜
|
| | |
| | | }
|
| | | }
|
| | | }
|
| | | else if (IndexOf == 3)
|
| | | else if (IndexOf == 4)
|
| | | {
|
| | | bool Isopen = OpenServerModel.IsOpen;
|
| | | if (!AnimationFadeOutDicLow.ContainsKey(highBtnRecord.Index) && Isopen)//7天寻礼
|
| | |
| | | AnimationFadeOutDicThree.Add(highBtnRecord.Index, selectCaseRequest);
|
| | | }
|
| | | }
|
| | |
|
| | |
|
| | | }
|
| | | else if (IndexOf == 4)
|
| | | else if (IndexOf == 5)
|
| | | {
|
| | | bool Isopen = OpenServerActivityCenter.Instance.IsActivityOpen(14);
|
| | | if (!AnimationFadeOutDicLow.ContainsKey(highBtnRecord.Index) && Isopen)//限时抢购
|
| | |
| | | AnimationFadeOutDicThree.Add(highBtnRecord.Index, selectCaseRequest);
|
| | | }
|
| | | }
|
| | |
|
| | |
|
| | | }
|
| | | else if (IndexOf == 5)
|
| | | else if (IndexOf == 6)
|
| | | {
|
| | | if (!AnimationFadeOutDicLow.ContainsKey(highBtnRecord.Index) && limitedTimePackageItemModel.IsExpired())//限时礼包
|
| | | {
|
| | |
| | | selectCaseRequest.Index = highBtnRecord.Index;
|
| | | AnimationFadeOutDicThree.Add(highBtnRecord.Index, selectCaseRequest);
|
| | | }
|
| | |
|
| | | }
|
| | |
|
| | | }
|
| | | else if (IndexOf == 6)
|
| | | else if (IndexOf == 7)
|
| | | {
|
| | | bool Isopen = OpenServerActivityCenter.Instance.IsActivityOpen(4);
|
| | | if (!AnimationFadeOutDicLow.ContainsKey(highBtnRecord.Index) && Isopen)//限时特惠
|
| | |
| | | }
|
| | | }
|
| | | }
|
| | | //else if (IndexOf == 7)
|
| | | //{
|
| | |
|
| | | //}
|
| | | }
|
| | | }
|
| | | }
|