| | |
| | | CrossServerOneVsOneRewardModel m_CrossServerRewardModel;
|
| | | CrossServerOneVsOneRewardModel crossServerRewardModel { get { return m_CrossServerRewardModel ?? (m_CrossServerRewardModel = ModelCenter.Instance.GetModel<CrossServerOneVsOneRewardModel>()); } }
|
| | | OpenServiceAchievementModel OpenServerModel { get { return ModelCenter.Instance.GetModel<OpenServiceAchievementModel>(); } }
|
| | | SpringFestivalModel springFestival { get { return ModelCenter.Instance.GetModel<SpringFestivalModel>(); } }
|
| | | public void Init()
|
| | | {
|
| | | if (LatencyTimeList.Count <= 0)
|
| | |
| | | impactRankModel.inImpactRankUpdate += InImpactRankUpdate;
|
| | | OpenServerModel.IsOpenEvent += IsOpenEvent;
|
| | | OpenServerModel.IsPreviewTimeUpdate += IsOpenEvent;
|
| | | OperationTimeHepler.Instance.operationAdvanceEvent += OperationAdvanceEvent;
|
| | | }
|
| | |
|
| | | public void Unit()
|
| | |
| | | impactRankModel.inImpactRankUpdate -= InImpactRankUpdate;
|
| | | OpenServerModel.IsOpenEvent -= IsOpenEvent;
|
| | | OpenServerModel.IsPreviewTimeUpdate -= IsOpenEvent;
|
| | | OperationTimeHepler.Instance.operationAdvanceEvent -= OperationAdvanceEvent;
|
| | | }
|
| | |
|
| | | private void OperationAdvanceEvent(Operation obj)
|
| | | {
|
| | | Classify();
|
| | | }
|
| | |
|
| | | private void IsOpenEvent()
|
| | |
| | |
|
| | | private void operationEndEvent(Operation arg1, int arg2)
|
| | | {
|
| | | if (arg1 == Operation.FairyCeremony || arg1== Operation.NewYearFairyCeremony)
|
| | | {
|
| | | Classify();
|
| | | }
|
| | | }
|
| | |
|
| | | private void operationStartEvent(Operation arg1, int arg2)
|
| | | {
|
| | | if (arg1 == Operation.FairyCeremony || arg1 == Operation.NewYearFairyCeremony)
|
| | | {
|
| | | Classify();
|
| | | }
|
| | | |
| | | }
|
| | |
|
| | | private void UpdateRedpoint(int redPointID)
|
| | |
| | | }
|
| | | else if (IndexOf == 4)
|
| | | {
|
| | | bool Isopen = OpenServerModel.IsOpen;
|
| | | if (!AnimationFadeOutDicLow.ContainsKey(highBtnRecord.Index) && Isopen)//7天寻礼
|
| | | bool Isopen = OpenServerModel.IsOpenFeatures();
|
| | | bool _isOpen = springFestival.IsOpenFeatures();
|
| | | if (!AnimationFadeOutDicLow.ContainsKey(highBtnRecord.Index) && (Isopen || _isOpen))//7天寻礼
|
| | | {
|
| | | if (AnimationFadeOutDicLow.Count < 6)//------第二层
|
| | | {
|