| 
					
				 | 
			
			
				@@ -29,8 +29,6 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 _ui = null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             base.Dispose(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         protected override void OnInit() 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -42,10 +40,18 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             this.modal = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             //MakeFullScreen(_ui); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            _ui.m_bgTouch.onClick.Add(OnBackClick); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _ui.m_listProperty.itemRenderer = RenderListPropertyItem; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _ui.m_listLastProperty.itemRenderer = RenderListLastPropertyItem; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            _ui.m_listCardProperty.itemRenderer = RenderListCardPropertyItem; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            _ui.m_listLastCardProperty.itemRenderer = RenderListLastCardPropertyItem; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private void OnBackClick() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            this.Hide(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         protected override void OnShown() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             base.OnShown(); 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -55,8 +61,6 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _curNum = (int)(viewData as object[])[3]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             _cardId = (int)(viewData as object[])[4]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_listProperty.numItems = _scores.Count; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (_type == "lv") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 _ui.m_c1.selectedIndex = 0; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -75,6 +79,8 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     _mainScore += cardLvCfg.mainScore; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     _otherScore += cardLvCfg.otherScore; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                _ui.m_listProperty.numItems = _scores.Count; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                _ui.m_listLastProperty.numItems = _scores.Count; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             else if (_type == "star") 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -83,52 +89,90 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 _ui.m_txtNow.text = string.Format("{0}星", _curNum / 5); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 _cardStarCfg = CardStarCfgArray.Instance.GetCfgBycardIdAndstarLvl(_cardId, _lastNum); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 _cardLvCfg = null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                _ui.m_listCardProperty.numItems = 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                _ui.m_listLastCardProperty.numItems = 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             else {  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 _ui.m_c1.selectedIndex = 2; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 _cardStarCfg = CardStarCfgArray.Instance.GetCfgBycardIdAndstarLvl(_cardId, _lastNum); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 _cardLvCfg = null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                _ui.m_listCardProperty.numItems = 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                _ui.m_listLastCardProperty.numItems = 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _ui.m_listLastProperty.numItems = _scores.Count; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             Timers.inst.AddUpdate(CheckGuide); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private void RenderListLastPropertyItem(int index, GObject obj) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private void RenderListLastCardPropertyItem(int index, GObject obj) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            UI_ListScoreItem listItem = UI_ListScoreItem.Proxy(obj); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            UI_ListScoreItem2 listItem = UI_ListScoreItem2.Proxy(obj); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             int score = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (_cardStarCfg != null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            int typeIndex = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            listItem.m_ArrowsType.selectedIndex = 2; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (_cardStarCfg.score1 > 0) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                typeIndex = 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                score = _scores[typeIndex] - _cardStarCfg.score1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            else if (_cardStarCfg.score2 > 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                if (index == 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    score = _scores[index + 1] - _cardStarCfg.score1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                else if (index == 1) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    score = _scores[index + 1] - _cardStarCfg.score2; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                else if (index == 2) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    score = _scores[index + 1] - _cardStarCfg.score3; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                else if (index == 3) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    score = _scores[index + 1] - _cardStarCfg.score4; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                typeIndex = 2; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                score = _scores[typeIndex] - _cardStarCfg.score2; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            else { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                if ((index + 1) == _itemCfgMainScore) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    score = _scores[index + 1] - _mainScore; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                else 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    score = _scores[index + 1] - _otherScore; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            else if (_cardStarCfg.score3 > 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                typeIndex = 3; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                score = _scores[typeIndex] - _cardStarCfg.score3; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            else if (_cardStarCfg.score4 > 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                typeIndex = 4; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                score = _scores[typeIndex] - _cardStarCfg.score4; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             listItem.m_txtProperty.text = score.ToString(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            listItem.m_loaIcon.url = ResPathUtil.GetCommonGameResPath("kp_sx_" + (typeIndex)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            UI_ListScoreItem2.ProxyEnd(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+         
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private void RenderListLastPropertyItem(int index, GObject obj) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            UI_ListScoreItem2 listItem = UI_ListScoreItem2.Proxy(obj); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            int score = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            listItem.m_ArrowsType.selectedIndex = 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if ((index + 1) == _itemCfgMainScore) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                score = _scores[index + 1] - _mainScore; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            else 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                score = _scores[index + 1] - _otherScore; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            listItem.m_txtProperty.text = score.ToString(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             listItem.m_loaIcon.url = ResPathUtil.GetCommonGameResPath("kp_sx_" + (index + 1)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            UI_ListScoreItem.ProxyEnd(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            UI_ListScoreItem2.ProxyEnd(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         private void RenderListPropertyItem(int index, GObject obj) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            UI_ListScoreItem listItem = UI_ListScoreItem.Proxy(obj); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            UI_ListScoreItem2 listItem = UI_ListScoreItem2.Proxy(obj); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             listItem.m_txtProperty.text = _scores[index + 1].ToString(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             listItem.m_loaIcon.url = ResPathUtil.GetCommonGameResPath("kp_sx_" + (index + 1)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            UI_ListScoreItem.ProxyEnd(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            UI_ListScoreItem2.ProxyEnd(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private void RenderListCardPropertyItem(int index, GObject obj) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            UI_ListScoreItem2 listItem = UI_ListScoreItem2.Proxy(obj); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            int typeIndex = 0; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            if (_cardStarCfg.score1 > 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                typeIndex = 1; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            else if (_cardStarCfg.score2 > 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                typeIndex = 2; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            else if (_cardStarCfg.score3 > 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                typeIndex = 3; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            else if (_cardStarCfg.score4 > 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                typeIndex = 4; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            listItem.m_txtProperty.text = _scores[typeIndex].ToString(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            listItem.m_loaIcon.url = ResPathUtil.GetCommonGameResPath("kp_sx_" + typeIndex); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            UI_ListScoreItem2.ProxyEnd(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-         
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         protected override void OnHide() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             base.OnHide(); 
			 |