| 
					
				 | 
			
			
				@@ -7,9 +7,12 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public class FieldGuideView : BaseWindow 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private delegate bool GetRedCall(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private UI_FieldGuideUI _ui; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private int[] _listBannerDatas = new int[3] { ConstBannerId.ZHAI_XING, ConstBannerId.ZHAI_XING, ConstBannerId.ZHAI_XING }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private int[] _listGuideDatas = new int[1] { ConstFieldGuideId.SUIT_GUIDE }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        GetRedCall[] actions = new GetRedCall[] { RedDotDataManager.Instance.GetFieldGuideRed }; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         public override void Dispose() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -34,13 +37,18 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _ui.m_listGuide.onClickItem.Add(OnClickListGuideItem); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _ui.m_compBanner.m_listTab.onClickItem.Add(OnClickListBannerItem); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _ui.m_compBanner.m_loaderPic.onClick.Add(OnClickBannerPic); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            EventAgent.AddEventListener(ConstMessage.SUIT_GUIDE_BOX_BONUS, () => 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                _ui.m_listGuide.numItems = _listGuideDatas.Length; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         protected override void OnShown() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             base.OnShown(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _ui.m_loaBg.url = ResPathUtil.GetBgImgPath("gxhd_bjbj"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            _ui.m_listGuide.numItems = _listGuideDatas.Length; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             UpdatePrgress(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _ui.m_compBanner.m_listTab.selectedIndex = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             UpdateBanner(_ui.m_compBanner.m_listTab.GetChildAt(_ui.m_compBanner.m_listTab.selectedIndex)); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -84,6 +92,8 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             listItem.m_loaderTitle.url = "ui://FieldGuide/tujian_taoz_" + id; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             listItem.m_loaderPic.url = "ui://FieldGuide/tujian_tup_" + id; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             listItem.target.data = id; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            bool red = actions[index](); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            RedDotController.Instance.SetComRedDot(listItem.target, red, "", 20); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private void OnClickListBannerItem(EventContext context) 
			 |