| | |
| | | int IndexOf = GroupLowIndexList.IndexOf(highBtnRecord.Index);
|
| | | if (IndexOf == 0)
|
| | | {
|
| | | if (!AnimationFadeOutDicLow.ContainsKey(highBtnRecord.Index) && OperationTimeHepler.Instance.SatisfyOpenCondition(Operation.FairyCeremony))//精灵盛典
|
| | | {
|
| | | 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 == 1)
|
| | | {
|
| | | var _funcOrder = 0;
|
| | | if (OpenServerActivityCenter.Instance.IsAnyActivityOpen(out _funcOrder))//精彩活动
|
| | | {
|
| | |
| | | }
|
| | | }
|
| | | }
|
| | |
|
| | |
|
| | | |
| | | }
|
| | | else if (IndexOf == 1)
|
| | | { |
| | | else if (IndexOf == 2)
|
| | | {
|
| | | if (!AnimationFadeOutDicLow.ContainsKey(highBtnRecord.Index) && limitedTimePackageItemModel.IsExpired())//限时礼包
|
| | | {
|
| | | if (AnimationFadeOutDicLow.Count < 6)//------第二层
|
| | |
| | | }
|
| | |
|
| | | }
|
| | | |
| | | }
|
| | | else if (IndexOf == 2)
|
| | | else if (IndexOf == 3)
|
| | | {
|
| | | bool Isopen = OpenServerActivityCenter.Instance.IsActivityOpen(4);
|
| | | if (!AnimationFadeOutDicLow.ContainsKey(highBtnRecord.Index) && Isopen)//限时特惠
|
| | |
| | | AnimationFadeOutDicThree.Add(highBtnRecord.Index, selectCaseRequest);
|
| | | }
|
| | | }
|
| | | }
|
| | | else if (IndexOf == 3)
|
| | | {
|
| | | bool Isopen = impactRankModel.IsInImpactRank;
|
| | | if (!AnimationFadeOutDicLow.ContainsKey(highBtnRecord.Index) && Isopen)//全民冲榜
|
| | | {
|
| | | 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 == 4)
|
| | | {
|
| | | if (!AnimationFadeOutDicLow.ContainsKey(highBtnRecord.Index) && OperationTimeHepler.Instance.InOperationTime(Operation.FairyCeremony))//精灵盛典
|
| | | bool Isopen = impactRankModel.IsInImpactRank;
|
| | | if (!AnimationFadeOutDicLow.ContainsKey(highBtnRecord.Index) && Isopen)//全民冲榜
|
| | | {
|
| | | if (AnimationFadeOutDicLow.Count < 6)//------第二层
|
| | | {
|