| 
					
				 | 
			
			
				@@ -83,7 +83,7 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _ui.m_btnTapLogin.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _ui.m_btnLogout.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if(QDManager.isInited) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (QDManager.isInited) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 EventAgent.DispatchEvent(ConstMessage.ON_PLATFORM_SDK_INITED, true); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -136,7 +136,7 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 QDManager.isInited = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 _ui.m_btnTapLogin.visible = QDManager.IsTaptap; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 _ui.m_btnStart.visible = !QDManager.IsTaptap; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                if(QDManager.IsHYKB) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (QDManager.IsHYKB) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     Timers.inst.Add(1, 1, DelayToHYKBLogin); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -152,16 +152,17 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 AlertSystem.Show("初始化平台sdk失败!") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 .SetRightButton(true, "重试", (t) => { QDManager.InitPlatform(); }); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-             
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private void OnPlatformLogined(EventContext context) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            ViewManager.Hide<ModalStatusView>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             var account = (string)context.data; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if(!string.IsNullOrEmpty(account)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (!string.IsNullOrEmpty(account)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 _ui.m_btnTapLogin.visible = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                if(QDManager.IsHYKB) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (QDManager.IsHYKB) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     //好游快爆因为SDK的防沉迷会使游戏失去焦点,需要检测焦点 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     focusCount = 0; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -174,7 +175,6 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             else 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ViewManager.Hide<ModalStatusView>(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 //尝试自动登录 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 OnClickBtnStart(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -190,10 +190,10 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private int focusCount; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private void CheckHykbLoginServer(object obj) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if(Application.isFocused) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (Application.isFocused) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 focusCount++; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                if(focusCount >= 2) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (focusCount >= 2) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     LoginController.LoginTest(QDHYKBManager.Instance.UserId).Coroutine(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     Timers.inst.Remove(CheckHykbLoginServer); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -245,7 +245,7 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     QDHYKBManager.Instance.Login(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                else if(QDManager.IsBiliBili) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                else if (QDManager.IsBiliBili) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     QDBiliBiliManager.Instance.Login(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 |