| 
					
				 | 
			
			
				@@ -61,7 +61,7 @@ public class PlayerManager : Singleton<PlayerManager> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     private TimerEntity _timerEntity; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public bool isLogin; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /// <summary> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /// 当前引导id 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     /// </summary> 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -300,16 +300,17 @@ public class PlayerManager : Singleton<PlayerManager> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         myHero.TaoismSkillId = 601011; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        HeroInfo yindaoHeroData = new HeroInfo(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        yindaoHeroData.InitHero(AccountFileInfo.Instance.playerData.yindaoHeroData); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        yindaoHeroData = heroInfo; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        yindaoHeroData = new HeroInfo(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        yindaoHeroData.InitMonster(102, 200); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        yindaoHeroData.isMonster = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // yindaoHeroData = heroInfo; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         yindaoHeroData.TaoismSkillId = 601011; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        // myHero= yindaoHeroData; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         BagController.Init(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         //初始化关卡 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         CurrentsmallPlaces = GetSmallPlacesData(GetMaxSmallPlacesId()); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-       
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         StaticUpdater.Instance.RemoveRenderUpdateCallBack(Update); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         StaticUpdater.Instance.AddRenderUpdateCallBack(Update); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -399,7 +400,9 @@ public class PlayerManager : Singleton<PlayerManager> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 isUpdate = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 keyValuePair.isLeave = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                AccountFileInfo.DaoYouData daoYouData = AccountFileInfo.Instance.playerData.daoYouDatas.FirstOrDefault(d => d.id == keyValuePair.daoyouDataID); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                AccountFileInfo.DaoYouData daoYouData = 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    AccountFileInfo.Instance.playerData.daoYouDatas.FirstOrDefault(d => 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        d.id == keyValuePair.daoyouDataID); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 DaoyouModelConfig daoyouModelConfig = 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     ConfigComponent.Instance.Get<DaoyouModelConfig>(daoYouData.id); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -449,54 +452,58 @@ public class PlayerManager : Singleton<PlayerManager> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             isUpdate = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-     
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public async void ChangeMap(int mapId) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    public async void ChangeMap(int mapId) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        SmallPlacesConfig smallPlacesConfig = ConfigComponent.Instance.Get<SmallPlacesConfig>(mapId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (smallPlacesConfig.ID == 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        AccountFileInfo.SmallPlacesData lastSmallPlacesData = 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            PlayerManager.Instance.GetSmallPlacesData(smallPlacesConfig.ID - 1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        SmallPlacesConfig lastSmallPlacesConfig = 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            ConfigComponent.Instance.Get<SmallPlacesConfig>(smallPlacesConfig.ID - 1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (smallPlacesConfig.ID > 1 && (lastSmallPlacesData == null || 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                         lastSmallPlacesData.completionEventCount < 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                                         lastSmallPlacesConfig.CompletionEventCount)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            SmallPlacesConfig smallPlacesConfig = ConfigComponent.Instance.Get<SmallPlacesConfig>(mapId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (smallPlacesConfig.ID == 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            AccountFileInfo.SmallPlacesData lastSmallPlacesData = PlayerManager.Instance.GetSmallPlacesData(smallPlacesConfig.ID - 1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            SmallPlacesConfig lastSmallPlacesConfig = ConfigComponent.Instance.Get<SmallPlacesConfig>(smallPlacesConfig.ID - 1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (smallPlacesConfig.ID > 1 && (lastSmallPlacesData == null || lastSmallPlacesData.completionEventCount < lastSmallPlacesConfig.CompletionEventCount)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (lastSmallPlacesConfig.UnlockEnvetid != 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            AccountFileInfo.EventList eventList = 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                AccountFileInfo.Instance.playerData.completeEvents.FirstOrDefault(ce => 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    ce.eventID == lastSmallPlacesConfig.UnlockEnvetid); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (eventList == null || !eventList.isCompleted) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (lastSmallPlacesConfig.UnlockEnvetid != 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                AccountFileInfo.EventList eventList = AccountFileInfo.Instance.playerData.completeEvents.FirstOrDefault(ce => ce.eventID == lastSmallPlacesConfig.UnlockEnvetid); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                if (eventList == null || !eventList.isCompleted) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        AccountFileInfo.SmallPlacesData smallPlacesData = 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            PlayerManager.Instance.GetSmallPlacesData(smallPlacesConfig.ID); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            AccountFileInfo.SmallPlacesData smallPlacesData = PlayerManager.Instance.GetSmallPlacesData(smallPlacesConfig.ID); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (smallPlacesData == null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            smallPlacesData = new AccountFileInfo.SmallPlacesData(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            smallPlacesData.id = smallPlacesConfig.ID; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            AccountFileInfo.Instance.playerData.smallPlacesDatas.Add(smallPlacesData); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (smallPlacesData == null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                smallPlacesData = new AccountFileInfo.SmallPlacesData(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                smallPlacesData.id = smallPlacesConfig.ID; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                AccountFileInfo.Instance.playerData.smallPlacesDatas.Add(smallPlacesData); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        AccountFileInfo.PlacesData currentPlacesData = PlayerManager.Instance.GetPlacesData(smallPlacesConfig.ID); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (currentPlacesData == null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            currentPlacesData = new AccountFileInfo.PlacesData(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            currentPlacesData.id = smallPlacesConfig.PlacesId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            AccountFileInfo.Instance.playerData.placesDatas.Add(currentPlacesData); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            AccountFileInfo.PlacesData currentPlacesData = PlayerManager.Instance.GetPlacesData(smallPlacesConfig.ID); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (currentPlacesData == null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                currentPlacesData = new AccountFileInfo.PlacesData(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                currentPlacesData.id = smallPlacesConfig.PlacesId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                AccountFileInfo.Instance.playerData.placesDatas.Add(currentPlacesData); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        PlayerManager.Instance.CurrentsmallPlaces = smallPlacesData; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            PlayerManager.Instance.CurrentsmallPlaces = smallPlacesData; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-             
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-   
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            EventManager.Instance.Dispatch(CustomEventType.ChangeMap, null); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        EventManager.Instance.Dispatch(CustomEventType.ChangeMap, null); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public void QianKunDaiAward() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -569,10 +576,15 @@ public class PlayerManager : Singleton<PlayerManager> 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public void CalculateOfflineRewards() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         // return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        if (AccountFileInfo.Instance.playerData.QiankundaiDropTimer <= PlayerManager.Instance.gameConstantConfig.qiankundaiMaxTime && AccountFileInfo.Instance.playerData.ExitTime > 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (AccountFileInfo.Instance.playerData.QiankundaiDropTimer <= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            PlayerManager.Instance.gameConstantConfig.qiankundaiMaxTime && 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            AccountFileInfo.Instance.playerData.ExitTime > 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             int miao = (int)((TimeHelper.ClientNow() - AccountFileInfo.Instance.playerData.ExitTime) / 1000); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            miao = AccountFileInfo.Instance.playerData.QiankundaiDropTimer + miao >= PlayerManager.Instance.gameConstantConfig.qiankundaiMaxTime ? PlayerManager.Instance.gameConstantConfig.qiankundaiMaxTime - miao : miao; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            miao = AccountFileInfo.Instance.playerData.QiankundaiDropTimer + miao >= 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                   PlayerManager.Instance.gameConstantConfig.qiankundaiMaxTime 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                ? PlayerManager.Instance.gameConstantConfig.qiankundaiMaxTime - miao 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                : miao; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             AccountFileInfo.Instance.playerData.QiankundaiDropTimer += miao; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             for (int i = 0; i < miao; i++) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             { 
			 |