| 
					
				 | 
			
			
				@@ -36,6 +36,7 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private GButton _btnField; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private GButton _btnBag; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private GButton _btnActivityDay7; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private GButton _btnGallery; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private List<EffectUI> _effectUIList = new List<EffectUI>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private UI_ButtonModle1[] _btns; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private bool firstIn; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -93,6 +94,7 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _btnStore = _ui.m_list.GetChild("btnStore").asButton; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _btnTuJian = _ui.m_list.GetChild("btnTuJian").asButton; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _btnBag = _ui.m_list.GetChild("btnBag").asButton; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            _btnGallery = _ui.m_list.GetChild("btnGallery").asButton; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _btnActivityDay7 = _ui.m_btnActivityDay7.target; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -129,6 +131,10 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _ui.m_btnHaiZhiShi.target.onClick.Add(OnClickBtnInstanceZones); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _ui.m_touchMask.onClick.Add(ShowMainUI); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _ui.m_btnShow.target.onClick.Add(HideMainUI); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            _ui.m_btnNewPlayerReward.target.onClick.Add(OnClickNewPlayerReward); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            _ui.m_btnSevenReward.target.onClick.Add(OnClickSevenReward); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            _ui.m_btnPearRebate.target.onClick.Add(OnClickPearRabate); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            _btnGallery.onClick.Add(OnClickGallery); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _ui.m_comListAd.m_listAd.itemRenderer = RenderListAdItem; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _ui.m_comListAd.m_listAd.SetVirtualAndLoop(); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -189,6 +195,7 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 _sceneObject = PrefabManager.Instance.InstantiateSync(ResPathUtil.GetPrefabPath("SceneMain")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _ui.m_btnNewYearRedEnvelope.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            _ui.m_btnNewPlayerReward.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             SceneController.UpdateMainScene(_sceneObject); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             UpdateRoleLvl(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             UpdateHead(); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -474,6 +481,10 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             ViewManager.Show<BagView>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private void OnClickGallery() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            ViewManager.Show<PoemGalleryView>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private void OnClickBtnLeague() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -506,6 +517,10 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             LogServerHelper.SendPlayParticipationLog((int)PlayParticipationEnum.TU_JIAN, 1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             ViewManager.Show<FieldGuideView>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private void OnClickPearRabate() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            ViewManager.Show<PearRebateTipsView>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private void OnClickBtnYouJian() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -550,6 +565,15 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             ViewManager.Show<RoleInfoView>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private void OnClickNewPlayerReward() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            ViewManager.Show<NewPlayersTipsView>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private void OnClickSevenReward() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            ViewManager.Show<SevenDayLoginView>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         //列表 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private void OnClickBtnGiftBag1() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -571,19 +595,20 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         //圆形 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private void OnClickBtnGiftBag2() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            var activityInfoByTypeList = 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ActivityGlobalDataManager.Instance.GetActivityInfoByType(ActivityType.XSLB2); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //var activityInfoByTypeList = 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //    ActivityGlobalDataManager.Instance.GetActivityInfoByType(ActivityType.XSLB2); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            var list = activityInfoByTypeList 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                .Where(a => a.EndTime > TimeInfo.Instance.ServerNow()).ToList(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (list.Count == 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                PromptController.Instance.ShowFloatTextPrompt("活动已结束"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            else 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ViewManager.Show<RushSaleGiftBoxView>(new object[] { ActivityType.XSLB2, this.viewData }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //var list = activityInfoByTypeList 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //    .Where(a => a.EndTime > TimeInfo.Instance.ServerNow()).ToList(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //if (list.Count == 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //    PromptController.Instance.ShowFloatTextPrompt("活动已结束"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //else 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //    ViewManager.Show<RushSaleGiftBoxView>(new object[] { ActivityType.XSLB2, this.viewData }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            ViewManager.Show<ZGTHgiftTipsView>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         //列表样式 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -657,7 +682,7 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             //特惠礼包/限时礼包窗口内的倒计时 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             UpGiftBox1(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            UpGiftBox2(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //UpGiftBox2(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             EventAgent.DispatchEvent(ConstMessage.LUCKY_BOX_TIME); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             UpdateRedDot(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -693,6 +718,7 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private void UpdateLimitedActvityState() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            _ui.m_btnNewPlayerReward.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             int actLimitTsyId = ActivityDataManager.Instance.GetCurOpenActiveByType(ConstLimitTimeActivityType.ActLimitTsy); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (actLimitTsyId > 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -717,12 +743,13 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (ActivityDataManager.Instance.lastActLimitChargeId != actLimitChargeId) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 ActivityDataManager.Instance.actLimitChargeId = actLimitChargeId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                _ui.m_btnDailyWelfare.target.visible = actLimitChargeId > 0 || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(DailyWelfareView).Name, false) && ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(DailySignView).Name, false) || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(DailySupplyView).Name, false) || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                !(!FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(SevenDayLoginView).Name, false) || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ActivityDataManager.Instance.AllSevenDayBonusGot())); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //_ui.m_btnDailyWelfare.target.visible = actLimitChargeId > 0 || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(DailyWelfareView).Name, false) && ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(DailySignView).Name, false) || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(DailySupplyView).Name, false) || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //!(!FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(SevenDayLoginView).Name, false) || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //ActivityDataManager.Instance.AllSevenDayBonusGot())); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                _ui.m_btnDailyWelfare.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             int activeNewYearRedPacketId = ActivityDataManager.Instance.GetCurOpenActiveByType(ActivityType.NewYearRedPacket); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -731,6 +758,63 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _ui.m_btnWanShiLi.target.visible = ActivityWanShiLiDataManager.Instance.CheckOpen(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _ui.m_btnTea.target.visible = ActivityDataManager.Instance.GetCurOpenActiveByType(12) == 0 ? false : true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _ui.m_btnActivityZCJB.target.visible = ActivityDataManager.Instance.GetCurOpenActiveByType(17) == 0 ? false: true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            _ui.m_btnNewPlayerReward.target.visible = (!ActivityDataManager.Instance.IsGetNewPlayerReward&& GameGlobal.AutoNewPlayersTips); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            _ui.m_btnSevenReward.target.visible = !ActivityDataManager.Instance.AllSevenDayBonusGot(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            _ui.m_btnPearRebate.target.visible = ActivityDataManager.Instance.CheckPearRebateTips(6000); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            _ui.m_btnGiftBag1.target.visible = ActivityDataManager.Instance.CheckPearRebateTips(6002); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            var activityInfo = ActivityGlobalDataManager.Instance.GetActivityInfo(6002); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            long endTime = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (activityInfo != null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                endTime = activityInfo.EndTime; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            var leftTime = endTime - TimeHelper.ServerNow(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            _ui.m_btnGiftBag1.m_txtTime.text = TimeUtil.FormattingTimeTo_DDHHmm((int)leftTime); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            UpdateSevenIcon(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (!ActivityDataManager.Instance.IsGetNewPlayerReward) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                RedDotController.Instance.SetComRedDot(_ui.m_btnNewPlayerReward.target, true, "", -8); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private void UpdateSevenIcon() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if(ActivityDataManager.Instance.CanGetSevenDayBonus()) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //显示今日可领取 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                int id = DailyLoginCfgArray.Instance.dataArray[ActivityDataManager.Instance.NowSevenDayBonusDay(true)].rewardsArr[0][0]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (DailyLoginCfgArray.Instance.dataArray[ActivityDataManager.Instance.NowSevenDayBonusDay(true)] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        .type == 2) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    _ui.m_btnSevenReward.m_Icon.url = ResPathUtil.GetIconPath("tz_kongquednf","png"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                else 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    _ui.m_btnSevenReward.m_Icon.url = ResPathUtil.GetIconPath(ItemCfgArray.Instance.GetCfg(id).res,"png"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                _ui.m_btnSevenReward.m_textIcon.url = "ui://Main/zjm_hdjrkl"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                RedDotController.Instance.SetComRedDot(_ui.m_btnSevenReward.target, true, "", -8); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            else if(ActivityDataManager.Instance.HaveGetSevenDayBonus() && ActivityDataManager.Instance.NowSevenDayBonusDay(false)<6) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //显示明日可领取 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                int id = DailyLoginCfgArray.Instance.dataArray[ActivityDataManager.Instance.NowSevenDayBonusDay(false)+1].rewardsArr[0][0]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (DailyLoginCfgArray.Instance.dataArray[ActivityDataManager.Instance.NowSevenDayBonusDay(false)+1] 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        .type == 2) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    _ui.m_btnSevenReward.m_Icon.url = ResPathUtil.GetIconPath("tz_kongquednf","png"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                else 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    _ui.m_btnSevenReward.m_Icon.url = ResPathUtil.GetIconPath(ItemCfgArray.Instance.GetCfg(id).res,"png"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                _ui.m_btnSevenReward.m_textIcon.url = "ui://Main/zjm_hdmrkl"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                RedDotController.Instance.SetComRedDot(_ui.m_btnSevenReward.target, false, "", -8); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private void UpdateTime() 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -870,23 +954,24 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             AdCfg adCfg = obj.data as AdCfg; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             object[] param = null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             int jumpIndex = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (adCfg.jumpId == nameof(LimitChargeView)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                param = new object[] { adCfg.activityId }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (adCfg.jumpId == nameof(NewLimitChargeView)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                param = new object[] { adCfg.activityId }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (adCfg.jumpId == nameof(LuckyBoxView)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                jumpIndex = adCfg.jumpParamArr[0]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //if (adCfg.jumpId == nameof(LimitChargeView)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //    param = new object[] { adCfg.activityId }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //if (adCfg.jumpId == nameof(NewLimitChargeView)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //    param = new object[] { adCfg.activityId }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //if (adCfg.jumpId == nameof(LuckyBoxView)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //    jumpIndex = adCfg.jumpParamArr[0]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //} 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (jumpIndex != 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ViewManager.Show($"GFGGame.{adCfg.jumpId}", jumpIndex); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            else 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ViewManager.Show($"GFGGame.{adCfg.jumpId}", param); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //if (jumpIndex != 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //    ViewManager.Show($"GFGGame.{adCfg.jumpId}", jumpIndex); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //else 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //    ViewManager.Show($"GFGGame.{adCfg.jumpId}", param); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            ViewManager.Show<DailyWelfareView>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private void OnListAdScrollEnd() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -897,7 +982,7 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _ui.m_btnGiftBag1.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _ui.m_btnGiftBag2.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            _ui.m_btnNewPlayerReward.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _ui.m_btnHaiZhiShi.m_loaLockIcons.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _ui.m_btnXiuFang.m_loaLockIcons.visible = !FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(XiuFangView).Name, false); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -909,12 +994,22 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _ui.m_btnOpenServerActivity.target.visible = ActivityDataManager.Instance.GetCurOpenActiveByType(ConstLimitTimeActivityType.ActLimitStlyc) > 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             List<int> actListChargeIds = ActivityGlobalDataManager.Instance.GetActivityInfoIdsByType(ConstLimitTimeActivityType.ActLimitChargeId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             int actLimitChargeId = actListChargeIds.Count > 0 ? actListChargeIds[0] : 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_btnDailyWelfare.target.visible = actLimitChargeId > 0 || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(DailyWelfareView).Name, false) && ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(DailySignView).Name, false) || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(DailySupplyView).Name, false) || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            !(!FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(SevenDayLoginView).Name, false) || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            ActivityDataManager.Instance.AllSevenDayBonusGot())); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //_ui.m_btnDailyWelfare.target.visible = actLimitChargeId > 0 || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(DailyWelfareView).Name, false) && ( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(DailySignView).Name, false) || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(DailySupplyView).Name, false) || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //!(!FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(SevenDayLoginView).Name, false) || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //ActivityDataManager.Instance.AllSevenDayBonusGot())); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            _ui.m_btnDailyWelfare.target.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            _ui.m_btnNewPlayerReward.target.visible = (!ActivityDataManager.Instance.IsGetNewPlayerReward&& GameGlobal.AutoNewPlayersTips); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if(!ActivityDataManager.Instance.IsGetNewPlayerReward) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                RedDotController.Instance.SetComRedDot(_ui.m_btnNewPlayerReward.target, true, "", -8); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            _ui.m_btnSevenReward.target.visible = !ActivityDataManager.Instance.AllSevenDayBonusGot(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            UpdateSevenIcon(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _btnGongGao.visible = FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(NoticeView).Name, false); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _btnHaoYou.visible = FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(FriendView).Name, false); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _btnYouJian.visible = FunctionOpenDataManager.Instance.CheckIsFunOpenById(typeof(MailView).Name, false); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -970,7 +1065,7 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 RedDotController.Instance.SetComRedDot(_btnLeague, RedDotDataManager.Instance.GetLeagueRed(), "", -8); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (redPointUpdateFrame == 9)  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                RedDotController.Instance.SetComRedDot(_ui.m_btnDailyWelfare.target, RedDotDataManager.Instance.GetDailyWelfareRed(), "", -19, 5); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                RedDotController.Instance.SetComRedDot(_ui.m_comListAd.target, RedDotDataManager.Instance.GetDailyWelfareRed(), "", 0, 5); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (redPointUpdateFrame == 10) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 RedDotController.Instance.SetComRedDot(_ui.m_btnActivityLuckyBox.target, RedDotDataManager.Instance.GetMeiRiTeHuiRed() 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1066,9 +1161,14 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (redPointUpdateFrame == 24) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    RedDotController.Instance.SetComRedDot(_ui.m_btnMain.target 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        , MainStoryDataManager.GetChapterRewardStatus(), "icon_tanhao", -40,40); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             redPointUpdateFrame++; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if(redPointUpdateFrame > 24) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if(redPointUpdateFrame > 25) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 redPointUpdateFrame = -1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1222,11 +1322,19 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (!GameGlobal.AfterDataInited) return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (!ViewManager.CheckIsTopView(this.viewCom)) return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             //if (!TimeUtil.CheckIsSameTime(lastTime * 1000, TimeHelper.ClientNow())) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (GameGlobal.AutoNewPlayersTips) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (GameGlobal.NewPlayerOnceTips) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    ViewManager.Show<NewPlayersTipsView>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (GameGlobal.AutoSevenDayLoginView) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 if (ActivityDataManager.Instance.CanGetSevenDayBonus()) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    ViewManager.Show<SevenDayLoginView>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    ViewManager.Show<SevenDailyTipsView>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -1268,6 +1376,39 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //直购648弹窗 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (GameGlobal.AutoZGTHTips) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                GameGlobal.AutoZGTHTips = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //判断弹窗时间 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (ActivityDataManager.Instance.CheckPearRebateTips(6002)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    ViewManager.Show<ZGTHgiftTipsView>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //直购特惠弹窗 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (GameGlobal.AutoZGTHDCTips) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                GameGlobal.AutoZGTHDCTips = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //判断弹窗时间 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (ActivityDataManager.Instance.CheckPearRebateTips(6001)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    ViewManager.Show<ZGTHgiftDCTipsView>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            //珍珠赠礼弹窗 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (GameGlobal.AutoPearRebateTips) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                GameGlobal.AutoPearRebateTips = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //判断弹窗时间 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (ActivityDataManager.Instance.CheckPearRebateTips(6000)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    ViewManager.Show<PearRebateTipsView>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             //if (GameGlobal.AutoSpecialOfferGiftBoxView) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             //{ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             //    //List<int> shopListId = new List<int>() { 40012, 40013 }; 
			 |