| 
					
				 | 
			
			
				@@ -307,7 +307,7 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private void OnClikcBtnReward() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            ViewManager.Show<ActivityThemeLuckyBoxBonusView>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            ViewManager.Show<ActivityThemeLuckyBoxBonusView>(ConstLimitTimeActivityType.ActLimitTsy); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private void OnClikcBtnShop() 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -320,7 +320,7 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             int boxId = LuckyBoxDataManager.Instance.luckyBoxIds[_curIndex]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             LuckyBoxCfg cfg = LuckyBoxCfgArray.Instance.GetCfg(boxId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            comBox.m_txtCount.SetVar("value", ActivityDataManager.Instance.lastDrawCount.ToString()).FlushVars(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            comBox.m_txtCount.SetVar("value", ActivityDataManager.Instance.lastTsyDrawCount.ToString()).FlushVars(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             comBox.m_txtCount.SetVar("name", cfg.name).FlushVars(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             var activityInfoByTypeList = ActivityGlobalDataManager.Instance.GetActivityInfoByType(ActivityType.XSLB3); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -420,12 +420,33 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 if (item == null) return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 GObject textField = item.asCom.GetChild("txtTime"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 if (textField == null) return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                long time = 100; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                string strTime = time > TimeUtil.SECOND_PER_DAY * 100 ? TimeUtil.FormattingTimeTo_DDHHmm(time) : TimeUtil.FormattingTimeTo_HHmmss(time); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                textField.asTextField.text = string.Format("概率提升剩余:{0}", strTime); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                int activityId = ActivityDataManager.Instance.GetCurOpenActiveByType(ConstLimitTimeActivityType.ActLimitTsy); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                var activityCfg = ActivityOpenCfgArray.Instance.GetCfg(activityId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                long endTime = TimeUtil.DateTimeToTimestamp(activityCfg.endTime); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                long curTime = TimeHelper.ServerNow(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (endTime < curTime) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    PromptController.Instance.ShowFloatTextPrompt("活动已结束"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    Timers.inst.Remove(UpdateTime); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    OnClickBtnBack(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                TimeUtil.FormattingTime(curTime, endTime, out int num, out string str); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                textField.asTextField.text = "概率提升剩余: " + TimeUtil.FormattingTimeTo_DDHHmm(endTime - curTime); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //=====限时礼包倒计时 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //UpGiftBox(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //EventAgent.DispatchEvent(ConstMessage.LUCKY_BOX_TIME); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                //=====限时礼包倒计时END 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private void UpdateTime(object param = null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+             
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private void updateBoxEffect() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (isActiveBoxOpen) 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -456,11 +477,15 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             LuckyBoxDataManager.Instance.CheckItemEnough(boxId, LuckyBoxDataManager.ONCE_TIME, async () => 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				              { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                 int activityId = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                 if (boxId == LuckyBoxDataManager.BOX_ID_2) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                     activityId = ActivityDataManager.Instance.GetCurOpenActiveByType(ConstLimitTimeActivityType.ActLimitTsy); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  bool result = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  if (freeTime > 0 && freeTime < TimeHelper.ServerNow()) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    result = await LuckyBoxSProxy.ReqGetBonus(boxId, LuckyBoxDataManager.ONCE_TIME, true); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    result = await LuckyBoxSProxy.ReqGetBonus(boxId, LuckyBoxDataManager.ONCE_TIME, true, activityId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  else 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    result = await LuckyBoxSProxy.ReqGetBonus(boxId, LuckyBoxDataManager.ONCE_TIME); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    result = await LuckyBoxSProxy.ReqGetBonus(boxId, LuckyBoxDataManager.ONCE_TIME,false, activityId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  if (result) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                  { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -490,8 +515,12 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             LuckyBoxDataManager.Instance.CheckItemEnough(boxId, LuckyBoxDataManager.TEN_TIME, async () => 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                bool result = await LuckyBoxSProxy.ReqGetBonus(boxId, LuckyBoxDataManager.TEN_TIME); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                int activityId = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (boxId == LuckyBoxDataManager.BOX_ID_2) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    activityId = ActivityDataManager.Instance.GetCurOpenActiveByType(ConstLimitTimeActivityType.ActLimitTsy); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                bool result = await LuckyBoxSProxy.ReqGetBonus(boxId, LuckyBoxDataManager.TEN_TIME,false, activityId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 if (result) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     ViewManager.Show<LuckyBoxStarView>(null, new object[] { typeof(LuckyBoxView).FullName, boxId }); 
			 |