| 
					
				 | 
			
			
				@@ -34,7 +34,7 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _ui.m_list.itemProvider = GetListChatItemResource; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _ui.m_list.SetVirtual(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_btnSend.onClick.Add(OnBtnSendClick); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            _ui.m_btnSend.target.onClick.Add(OnBtnSendClick); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         protected override void AddEventListener() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -90,6 +90,12 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private async void OnBtnSendClick() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (_ui.m_btnSend.m_c1.selectedIndex == 1) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                PromptController.Instance.ShowFloatTextPrompt("消息发送频繁"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+             
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (string.IsNullOrEmpty(_ui.m_txtChat.text)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 PromptController.Instance.ShowFloatTextPrompt("还没有输入想发送的内容哦"); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -100,6 +106,19 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 _ui.m_txtChat.text = ""; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 UpdateChatList(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                int num = GlobalCfgArray.globalCfg.chatTime; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                _ui.m_btnSend.m_timeStr.text = num.ToString(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                _ui.m_btnSend.m_c1.selectedIndex = 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                Timers.inst.Add(1, 10, (param) => 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    num--; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    _ui.m_btnSend.m_timeStr.text = num.ToString(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    if (num == 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        _ui.m_btnSend.m_c1.selectedIndex = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 |