| 
					
				 | 
			
			
				@@ -10,682 +10,22 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     public class GuideController 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        /*******************************************************单人战斗引导***********************************************/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static void TryGuideChapterViewLevelItem(GObject target, string guideStr = null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (GuideDataManager.GetGuideCount(ConstGuideId.SINGLE_FIGHT_GUIDE) <= 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                if (guideStr == null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    UI_CompStoryLevelItem levelItem = UI_CompStoryLevelItem.Proxy(target); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    if (levelItem != null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        int level = int.Parse(levelItem.target.name.Replace("g", "")); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        string levelID = StoryDataManager.currentChapter + "_" + level; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        StoryLevelCfg storyLevelCfg = StoryLevelCfgArray.Instance.GetCfg(levelID); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        if (storyLevelCfg.fightID != null && storyLevelCfg.fightID.Length > 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            guideStr = "遇到意外事件了,暂时解释不清,先按请求换上服饰吧"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        else 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            guideStr = "点击关卡图标,继续故事"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    else 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        guideStr = "点击,继续"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                GuideDataManager.currentGuideId = ConstGuideId.SINGLE_FIGHT_GUIDE; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ShowGuide(target, true, guideStr); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            else if (GuideDataManager.GetGuideCount(ConstGuideId.SINGLE_FIGHT_GUIDE) <= 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static void TryGuideChapterInfoViewBtnStart(GObject target, string guideStr = null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (GuideDataManager.GetGuideCount(ConstGuideId.SINGLE_FIGHT_GUIDE) <= 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                if (guideStr == null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    guideStr = "点击,继续"; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ShowGuide(target, true, guideStr); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static bool TryGuideDressUpFightViewMenuType0(GList list) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (StoryDataManager.currentChapter == 1 && StoryDataManager.currentLevel <= 2 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && !StoryDataManager.CheckLevelPass(StoryDataManager.currentChapter, StoryDataManager.currentLevel)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                int len = list.numChildren; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                for (int i = 0; i < len; i++) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    UI_TypeItem item = UI_TypeItem.Proxy(list.GetChildAt(i)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    if (item != null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        int menuID = (int)item.target.data; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        DressUpMenuItemCfg1 dressUpMenuItemCfg1 = DressUpMenuItemCfg1Array.Instance.GetCfg(menuID); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        if (dressUpMenuItemCfg1.type == ConstDressUpItemType.LIAN_YI_QUN) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            ShowGuide(item.target, true, "点击相应的分类,可以快速找到服饰"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            return true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            return false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static void TryGuideDressUpFightViewMenuPart0(GList list, string guideStr) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (StoryDataManager.currentChapter == 1 && StoryDataManager.currentLevel <= 2 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            && !StoryDataManager.CheckLevelPass(StoryDataManager.currentChapter, StoryDataManager.currentLevel)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                if (list.numChildren > 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    UI_PartsListItem listItem = UI_PartsListItem.Proxy(list.GetChildAt(0)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    if (listItem != null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        ShowGuide(listItem.target, true, guideStr); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static void TryGuideDressUpFightViewBtnNext0(GObject target) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (GuideDataManager.GetGuideCount(ConstGuideId.SINGLE_FIGHT_GUIDE) <= 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ShowGuide(target, false, "接下来验证一下,换上的服饰是否符合需求"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static void TryGuideSingleScoreViewComClickCircle(GObject target) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            ShowGuide(target, false, "服饰比较繁琐,适当的整理会更加分,点击为各部位修整吧"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        /*******************************************************引导购买必需品***********************************************/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static void TryGuideDressUpFightViewBtnRecommend(GObject target, GList list) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            _list = list; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (GuideDataManager.GetGuideCount(ConstGuideId.CLOTHING_SHOP_VIEW_BTN_BUY) <= 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && StoryDataManager.currentLevel == 4 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && !StoryDataManager.CheckLevelPass(StoryDataManager.currentChapter, StoryDataManager.currentLevel) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && DressUpMenuItemDataManager.GetRecommendCount() >= 2) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                GuideDataManager.currentGuideId = ConstGuideId.CLOTHING_SHOP_VIEW_BTN_BUY; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ShowGuide(target, false, "当提示有“必需品”时,需要穿上对应物品才能通关"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static void TryGuideApproachOfItemViewList(GList list) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (GuideDataManager.GetGuideCount(ConstGuideId.CLOTHING_SHOP_VIEW_BTN_BUY) <= 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && StoryDataManager.currentLevel == 4 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && !StoryDataManager.CheckLevelPass(StoryDataManager.currentChapter, StoryDataManager.currentLevel) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && DressUpMenuItemDataManager.GetRecommendCount() >= 2) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                UI.CommonGame.UI_ApproachOfItemUI listItem = UI.CommonGame.UI_ApproachOfItemUI.Proxy(list.GetChildAt(0)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                if (listItem != null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    ShowGuide(listItem.target, false, "该物品可以在服装店购买,点开服装店看看"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static void TryGuideBuyCountViewBtnSure(GObject target) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (GuideDataManager.GetGuideCount(ConstGuideId.CLOTHING_SHOP_VIEW_BTN_BUY) <= 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && StoryDataManager.currentLevel == 4 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && !StoryDataManager.CheckLevelPass(StoryDataManager.currentChapter, StoryDataManager.currentLevel)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ShowGuide(target, false, "找到需要的物品了,点击购买吧"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static void TryGuideClothingShopViewBtnBack(GObject target) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (GuideDataManager.GetGuideCount(ConstGuideId.CLOTHING_SHOP_VIEW_BTN_BUY) <= 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && StoryDataManager.currentLevel == 4 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && !StoryDataManager.CheckLevelPass(StoryDataManager.currentChapter, StoryDataManager.currentLevel)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ShowGuide(target, false, "点击返回,回到换装"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private static GList _list; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static bool TryGuideDressUpFightViewMenuType1() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (GuideDataManager.GetGuideCount(ConstGuideId.CLOTHING_SHOP_VIEW_BTN_BUY) <= 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-               && StoryDataManager.currentLevel == 4 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-               && !StoryDataManager.CheckLevelPass(StoryDataManager.currentChapter, StoryDataManager.currentLevel)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                int len = _list.numChildren; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                for (int i = 0; i < len; i++) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    UI_comListType item = UI_comListType.Proxy(_list.GetChildAt(i)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    if (item != null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        int menuID = (int)item.target.data; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        DressUpMenuItemCfg1 dressUpMenuItemCfg1 = DressUpMenuItemCfg1Array.Instance.GetCfg(menuID); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        if (dressUpMenuItemCfg1.type == ConstDressUpItemType.LIAN_YI_QUN) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            ShowGuide(item.target, true, "在相应分类里就可以找到必需品啦"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            _list = null; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            return true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            return false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static void TryGuideDressUpFightViewMenuPart1(GList list, string guideStr) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (StoryDataManager.currentChapter == 1 && StoryDataManager.currentLevel == 4 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            && !StoryDataManager.CheckLevelPass(StoryDataManager.currentChapter, StoryDataManager.currentLevel)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                if (list.numChildren > 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    UI_PartsList listItem = UI_PartsList.Proxy(list.GetChildAt(0)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    if (listItem != null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        ShowGuide(listItem.target, true, guideStr); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        /***************************************************点击查看关卡提示***************************************************/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static void TryGuideDressUpFightViewBtnHint(GObject target) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (GuideDataManager.GetGuideCount(ConstGuideId.SEE_DRESS_TIPS) <= 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && StoryDataManager.currentLevel == 6 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && !StoryDataManager.CheckLevelPass(StoryDataManager.currentChapter, StoryDataManager.currentLevel)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                GuideDataManager.currentGuideId = ConstGuideId.SEE_DRESS_TIPS; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ShowGuide(target, false, "这次换装需要获得别人的认可呢"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        /******************************************************双人对战评分************************************************/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static void TryGuideStoryFightTargetScoreComCircle(GObject target, float devWidth, float devHeight) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (GuideDataManager.GetGuideCount(ConstGuideId.TARGET_FIGHT_GUIDE) <= 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && StoryDataManager.currentLevel == 6 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && !StoryDataManager.CheckLevelPass(StoryDataManager.currentChapter, StoryDataManager.currentLevel)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                GuideDataManager.currentGuideId = ConstGuideId.TARGET_FIGHT_GUIDE; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ShowGuide(target, false, "这里可以观察双方的分数计算", 0, false, devWidth, devHeight); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static void TryGuideStoryFightTargetScorebtnSkill0(GObject target) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (GuideDataManager.GetGuideCount(ConstGuideId.TARGET_FIGHT_GUIDE) <= 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && StoryDataManager.currentLevel == 6 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && !StoryDataManager.CheckLevelPass(StoryDataManager.currentChapter, StoryDataManager.currentLevel)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ShowGuide(target, false, "使用技能,可以增加胜出的几率哦,点击看看"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        /*******************************************************引导抽奖***********************************************/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static bool TryGuideGoBackStoryChapter(GObject target) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (GuideDataManager.GetGuideCount(ConstGuideId.MAIN_UI_BTN_ZHAI_XING) <= 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && StoryDataManager.CheckLevelPass(1, 10) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && !StoryDataManager.CheckLevelPass(1, 11)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                GuideDataManager.currentGuideId = ConstGuideId.MAIN_UI_BTN_ZHAI_XING; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ShowGuide(target, true, "点击返回主界面", 0); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                return true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            return false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static bool TryGuideLuckyBox(GObject target) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (GuideDataManager.GetGuideCount(ConstGuideId.MAIN_UI_BTN_ZHAI_XING) <= 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && StoryDataManager.CheckLevelPass(1, 10) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && !StoryDataManager.CheckLevelPass(1, 11)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                GuideDataManager.currentGuideId = ConstGuideId.MAIN_UI_BTN_ZHAI_XING; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ShowGuide(target, false, "“摘星”里可以通过星辰的力量获得服饰"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                return true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            return false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static bool TryGuideLuckyBoxStar() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (GuideDataManager.GetGuideCount(ConstGuideId.MAIN_UI_BTN_ZHAI_XING) <= 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && StoryDataManager.CheckLevelPass(1, 10) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && !StoryDataManager.CheckLevelPass(1, 11)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                GuideDataManager.currentGuideId = ConstGuideId.MAIN_UI_BTN_ZHAI_XING; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ShowGuide(null, false, "点击将星星链接在一起", 1400); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                return true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            return false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        /*****************************************************引导自由换装保存套装*************************************************/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static bool TryGuideDressUpViewMenuType1(GList list) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (GuideDataManager.currentGuideId == ConstGuideId.MAIN_UI_BTN_HUAN_ZHUANG) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                int len = list.numChildren; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                list.ScrollToView(len - 1); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                for (int i = 0; i < len; i++) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    UI_comListType item = UI_comListType.Proxy(list.GetChildAt(i)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    if (item != null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        int menuID = (int)item.target.data; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        DressUpMenuItemCfg1 dressUpMenuItemCfg1 = DressUpMenuItemCfg1Array.Instance.GetCfg(menuID); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        if (dressUpMenuItemCfg1.type == ConstDressUpItemType.TAO_ZHUANG) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            ShowGuide(item.target, true, "套装分类里,可以查看集齐成套的服饰"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            return true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            return false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static void TryGuideDressUpViewMenuPart(GList list) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (GuideDataManager.currentGuideId == ConstGuideId.MAIN_UI_BTN_HUAN_ZHUANG) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                if (list.numChildren > 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    UI_PartsList listItem = UI_PartsList.Proxy(list.GetChildAt(0)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    if (listItem != null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        ShowGuide(listItem.target, true, "点击一键换上"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        /************************************************************引导合成套装*******************************************************/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static void TryGuideStoryChapterView(GObject target) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (GuideDataManager.GetGuideCount(ConstGuideId.SUIT_SYNTHETIC_GUIDE) <= 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && StoryDataManager.CheckLevelPass(2, 1) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && !StoryDataManager.CheckLevelPass(2, 2) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && StoryDataManager.currentChapter == 2 && StoryDataManager.currentLevel <= 2) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                GuideDataManager.currentGuideId = ConstGuideId.SUIT_SYNTHETIC_GUIDE; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ShowGuide(target, false, "点击进行下一关"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static void TryGuideStoryLevelInfoViewTxtNeed(GObject target) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (GuideDataManager.GetGuideCount(ConstGuideId.SUIT_SYNTHETIC_GUIDE) <= 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && StoryDataManager.CheckLevelPass(2, 1) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && !StoryDataManager.CheckLevelPass(2, 2) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && StoryDataManager.currentChapter == 2 && StoryDataManager.currentLevel <= 2) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                GuideDataManager.currentGuideId = ConstGuideId.SUIT_SYNTHETIC_GUIDE; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ShowGuide(target, false, "这次必需品,要通过合成获得", 0, true); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static void TryGuideStoryLevelInfoView(GObject target) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        public static bool IsGuide() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (GuideDataManager.GetGuideCount(ConstGuideId.SUIT_SYNTHETIC_GUIDE) <= 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && StoryDataManager.CheckLevelPass(2, 1) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && !StoryDataManager.CheckLevelPass(2, 2) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && GuideDataManager.currentGuideId == ConstGuideId.SUIT_SYNTHETIC_GUIDE) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            bool isAllGuideFinish = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            for (int i = 0; i < GuideCfgArray.Instance.dataArray.Length; i++) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ShowGuide(target, false, "点击空白处关闭", 1400); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static void TryGuideStoryChapterViewBtnHome(GObject target) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (GuideDataManager.GetGuideCount(ConstGuideId.SUIT_SYNTHETIC_GUIDE) <= 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && StoryDataManager.CheckLevelPass(2, 1) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && !StoryDataManager.CheckLevelPass(2, 2)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ShowGuide(target, false, "先回到主界面", 0); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static bool TryGuideMainUIViewBtnXiuFang(GObject target) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (GuideDataManager.GetGuideCount(ConstGuideId.SUIT_SYNTHETIC_GUIDE) <= 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && StoryDataManager.CheckLevelPass(2, 1) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && !StoryDataManager.CheckLevelPass(2, 2) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            // && GuideDataManager.currentGuideId == ConstGuideId.SUIT_SYNTHETIC_GUIDE 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            ) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                GuideDataManager.currentGuideId = ConstGuideId.SUIT_SYNTHETIC_GUIDE; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ShowGuide(target, false, "绣坊里增添了新功能", 0); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                return true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            return false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static void TryGuideSuitSyntheticView(GObject target) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (GuideDataManager.GetGuideCount(ConstGuideId.SUIT_SYNTHETIC_GUIDE) <= 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && StoryDataManager.CheckLevelPass(2, 1) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && !StoryDataManager.CheckLevelPass(2, 2)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ShowGuide(target, false, "这里可以查看已获得的服饰图谱", 0); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static void TryGuideSuitSyntheticViewList(GList list) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (GuideDataManager.GetGuideCount(ConstGuideId.SUIT_SYNTHETIC_GUIDE) <= 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && StoryDataManager.CheckLevelPass(2, 1) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && !StoryDataManager.CheckLevelPass(2, 2)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                if (list.numChildren > 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                if (GuideDataManager.GetGuideCountCopy(GuideCfgArray.Instance.dataArray[i].key) <= 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    UI_SuitListItem listItem = UI_SuitListItem.Proxy(list.GetChildAt(0)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    if (listItem != null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        ShowGuide(listItem.target, true, "查看已解锁的图谱"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static void TryGuideClothingSyntheticViewSuitList(GList list) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (GuideDataManager.GetGuideCount(ConstGuideId.SUIT_SYNTHETIC_GUIDE) <= 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && StoryDataManager.CheckLevelPass(2, 1) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && !StoryDataManager.CheckLevelPass(2, 2)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                if (list.numChildren > 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    UI_MateriasListItem listItem = UI_MateriasListItem.Proxy(list.GetChildAt(0)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    if (listItem != null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        ShowGuide(listItem.m_loaderIcon, true, "找到需要合成的物品", 0, false); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    isAllGuideFinish = false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    break; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                isAllGuideFinish = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            bool isGuide = GameGlobal.skipGuide == false && !isAllGuideFinish; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            return isGuide; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static void TryGuideClothingSyntheticViewList(GList list) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (GuideDataManager.GetGuideCount(ConstGuideId.SUIT_SYNTHETIC_GUIDE) <= 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && StoryDataManager.CheckLevelPass(2, 1) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && !StoryDataManager.CheckLevelPass(2, 2)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                if (list.numChildren > 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    UI_MateriasListItem listItem = UI_MateriasListItem.Proxy(list.GetChildAt(0)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    if (listItem != null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        ShowGuide(listItem.m_loaderIcon, true, "这里可以查看合成需要的材料,和材料的获取途径", 0, false); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static void TryGuideClothingSyntheticViewBtnProduction(GObject target) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (GuideDataManager.GetGuideCount(ConstGuideId.SUIT_SYNTHETIC_GUIDE) <= 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && StoryDataManager.CheckLevelPass(2, 1) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && !StoryDataManager.CheckLevelPass(2, 2)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ShowGuide(target, true, "点击合成物品"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static void TryGuideClothingSyntheticViewBtnHome(GObject target) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (GuideDataManager.GetGuideCount(ConstGuideId.SUIT_SYNTHETIC_GUIDE) <= 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && StoryDataManager.CheckLevelPass(2, 1) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && !StoryDataManager.CheckLevelPass(2, 2)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ShowGuide(target, true, "获得必需品啦,继续通关主线剧情吧"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        /************************************************************引导使用卡牌战斗*******************************************************/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static void TryGuideStoryCardChoose(GList list) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (GuideDataManager.GetGuideCount(ConstGuideId.USE_CARD_FIGHT) <= 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && StoryDataManager.CheckLevelPass(2, 5) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && !StoryDataManager.CheckLevelPass(2, 6) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && StoryDataManager.currentChapter == 2 && StoryDataManager.currentLevel == 6) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                if (list.numChildren > 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    UI_ListCardItem listItem = UI_ListCardItem.Proxy(list.GetChildAt(0)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    if (listItem != null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        GuideDataManager.currentGuideId = ConstGuideId.USE_CARD_FIGHT; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        ShowGuide(listItem.target, true, "选择一张合适的词牌,增加过关战斗力"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static void TryGuideStoryCardChooseBtnConfirm(GObject target) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (GuideDataManager.GetGuideCount(ConstGuideId.USE_CARD_FIGHT) <= 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && StoryDataManager.CheckLevelPass(2, 5) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && !StoryDataManager.CheckLevelPass(2, 6)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ShowGuide(target, true, "点击确定进行战斗"); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        /*****************************************************************提示标签**************************************************/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static void TryGuideStoryLevelInfoListTag(GObject target) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (GuideDataManager.GetGuideCount(ConstGuideId.TIPS_TAGS_FIGHT) <= 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && StoryDataManager.CheckLevelPass(2, 7) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && !StoryDataManager.CheckLevelPass(2, 8)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                GuideDataManager.currentGuideId = ConstGuideId.TIPS_TAGS_FIGHT; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ShowGuide(target, true, "选择相应的关卡标签,可提高分数", 0, true); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        /***********************************************************词牌升星********************************************************/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static void TryGuideStoryLevelInfoBtnHome(GObject target) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (GuideDataManager.GetGuideCount(ConstGuideId.CARD_UP_STAR) <= 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && StoryDataManager.CheckLevelPass(2, 14) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && !StoryDataManager.CheckLevelPass(2, 15)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                GuideDataManager.currentGuideId = ConstGuideId.CARD_UP_STAR; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ShowGuide(target, true, "已经收集了足够的材料,可以给词牌升星了", 0, true); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static void TryGuideMainUIViewBtnCiPai(GObject target) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (GuideDataManager.GetGuideCount(ConstGuideId.CARD_UP_STAR) <= 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-               && StoryDataManager.CheckLevelPass(2, 14) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && !StoryDataManager.CheckLevelPass(2, 15)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                GuideDataManager.currentGuideId = ConstGuideId.CARD_UP_STAR; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ShowGuide(target, true, "点击词牌", 0); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static void TryGuideCardDetailViewList(GList list) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (GuideDataManager.GetGuideCount(ConstGuideId.CARD_UP_STAR) <= 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                  && StoryDataManager.CheckLevelPass(2, 14) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && !StoryDataManager.CheckLevelPass(2, 15)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                if (list.numChildren > 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    UI.Card.UI_ListCardItem listItem = UI.Card.UI_ListCardItem.Proxy(list.GetChildAt(0)); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    if (listItem != null) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        GuideDataManager.currentGuideId = ConstGuideId.CARD_UP_STAR; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        ShowGuide(listItem.target, true, "选择可升星的词牌", 0); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                        return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static void TryGuideCardFosterViewBtnStar(GObject target) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (GuideDataManager.GetGuideCount(ConstGuideId.CARD_UP_STAR) <= 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && StoryDataManager.CheckLevelPass(2, 14) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && !StoryDataManager.CheckLevelPass(2, 15)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ShowGuide(target, true, "升满5星后,可解锁词牌的隐藏卡面哦", 0); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        /***********************************************************引导拍照********************************************************/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        // PHOTOGRAPH_GUIDE 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static bool TryGuideGoBackStoryChapter1(GObject target) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (GuideDataManager.GetGuideCount(ConstGuideId.PHOTOGRAPH_GUIDE) <= 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && StoryDataManager.CheckLevelPass(2, 4) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && !StoryDataManager.CheckLevelPass(2, 5)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                GuideDataManager.currentGuideId = ConstGuideId.PHOTOGRAPH_GUIDE; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ShowGuide(target, false, "拍照功能已开启,解锁更多搭配和玩法哦,点这里看看吧", 0); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                return true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            return false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static bool TryGuideOpenDressUpView(GObject target) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (GuideDataManager.GetGuideCount(ConstGuideId.PHOTOGRAPH_GUIDE) <= 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && StoryDataManager.CheckLevelPass(2, 4) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && !StoryDataManager.CheckLevelPass(2, 5)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                GuideDataManager.currentGuideId = ConstGuideId.PHOTOGRAPH_GUIDE; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ShowGuide(target, false, "点击自由换装", 0); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                return true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            return false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static bool TryGuideDressUpViewMenuType2(GObject target) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (GuideDataManager.GetGuideCount(ConstGuideId.PHOTOGRAPH_GUIDE) <= 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-               && StoryDataManager.CheckLevelPass(2, 4) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-               && !StoryDataManager.CheckLevelPass(2, 5)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                GuideDataManager.currentGuideId = ConstGuideId.PHOTOGRAPH_GUIDE; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ShowGuide(target, false, "点击拍照", 0); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                return true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            return false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static void TryGuideDressUpViewMenuPart1(GObject target) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (GuideDataManager.GetGuideCount(ConstGuideId.PHOTOGRAPH_GUIDE) <= 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && StoryDataManager.CheckLevelPass(2, 4) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && !StoryDataManager.CheckLevelPass(2, 5)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                GuideDataManager.currentGuideId = ConstGuideId.PHOTOGRAPH_GUIDE; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ShowGuide(target, false, "可以自由添加已有道具", 0); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static bool TryGuideBtnPhotograph(GObject target) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (GuideDataManager.GetGuideCount(ConstGuideId.PHOTOGRAPH_GUIDE) <= 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && StoryDataManager.CheckLevelPass(2, 4) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && !StoryDataManager.CheckLevelPass(2, 5)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                GuideDataManager.currentGuideId = ConstGuideId.PHOTOGRAPH_GUIDE; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ShowGuide(target, false, "点击空白处查看整体效果", 0); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                return true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            return false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static bool TryGuideOpenPhotographView(GObject target) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (GuideDataManager.GetGuideCount(ConstGuideId.PHOTOGRAPH_GUIDE) <= 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && StoryDataManager.CheckLevelPass(2, 4) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && !StoryDataManager.CheckLevelPass(2, 5)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                GuideDataManager.currentGuideId = ConstGuideId.PHOTOGRAPH_GUIDE; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ShowGuide(target, false, "双指可控制放大缩小,或点击边框上的按键控制", 0); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                return true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            return false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static bool TryGuideBtnSave(GObject target) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (GuideDataManager.GetGuideCount(ConstGuideId.PHOTOGRAPH_GUIDE) <= 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && StoryDataManager.CheckLevelPass(2, 4) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                && !StoryDataManager.CheckLevelPass(2, 5)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                GuideDataManager.currentGuideId = ConstGuideId.PHOTOGRAPH_GUIDE; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ShowGuide(target, false, "点击拍照,可以记录和分享美照啦~", 0); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                return true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            return false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        /*********************************************************************************************************************************/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         public static bool useNewGuide = true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         public static bool TryGuide(GObject target, string guideKey, int index, string guideStr = null, bool isList = false, int listIndex = 0, bool checkIndex = true, bool needUpdate = false, int yTxt = 0, float devWidth = 0, float devHeight = 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -694,6 +34,7 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             GuideCfg cfg = GuideCfgArray.Instance.GetCfg(guideKey); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if ((GuideDataManager.GetGuideCountCopy(guideKey) <= 0 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+            && (cfg.priorId <= 0 || cfg.priorId > 0 && (GuideDataManager.GetGuideCountCopy(cfg.priorId) > 0)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             && (!checkIndex || checkIndex && GuideDataManager.IsGuideIndexFinish(cfg.id, index - 1) == true && GuideDataManager.IsGuideIndexFinish(cfg.id, index) == false) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             && (GuideDataManager.currentGuideId == 0 || GuideDataManager.currentGuideId == cfg.id && GuideDataManager.currentGuideIdIndex != index) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             && (StoryDataManager.currentChapter == 0 || StoryDataManager.CheckCurrentLevelPass() == false) 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -725,7 +66,7 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         return false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ShowGuideIndex(target, needUpdate, guideStr, yTxt, cfg.optionalGuide == 1, devWidth, devHeight, GuideDataManager.currentGuideId, GuideDataManager.currentGuideIdIndex); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                ShowGuideByIndex(target, needUpdate, guideStr, yTxt, cfg.optionalGuide == 1, devWidth, devHeight, GuideDataManager.currentGuideId, GuideDataManager.currentGuideIdIndex); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 if (!checkIndex) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     for (int i = 1; i < index; i++) 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -737,7 +78,7 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             return false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private static void ShowGuideIndex(GObject target, bool needUpdate = false, string guideStr = null, int yTxt = 0, bool isOptionalGuide = false, float devWidth = 0, float devHeight = 0, int guideId = 0, int index = 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        private static void ShowGuideByIndex(GObject target, bool needUpdate = false, string guideStr = null, int yTxt = 0, bool isOptionalGuide = false, float devWidth = 0, float devHeight = 0, int guideId = 0, int index = 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             HideGuideIndex(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             if (GameGlobal.skipGuide) 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -780,53 +121,5 @@ namespace GFGGame 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				  
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             ViewManager.Hide(ViewName.GUIDE_VIEW); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        /************************************************************************************************************/ 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static bool TryGuideByGuideId(GObject target, int guideId, int maxCount = 1, bool needUpdate = false, string guideStr = null, int yTxt = 0, int preGuideIdAtThisLogin = 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (GuideController.useNewGuide) return false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (preGuideIdAtThisLogin > 0 && !GuideDataManager.CheckGuideIsCompletedAtThisLogin(preGuideIdAtThisLogin)) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                return false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (GuideDataManager.GetGuideCount(guideId) < maxCount) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                GuideDataManager.currentGuideId = guideId; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                ShowGuide(target, needUpdate, guideStr, yTxt); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                return true; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            return false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static bool TryCompleteGuide(int guideId) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (useNewGuide) return false; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            bool result = GuideDataManager.TryCompleteGuide(guideId); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (result) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                HideGuide(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            return result; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        public static void HideGuide() 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (useNewGuide) return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            ViewManager.Hide(ViewName.GUIDE_VIEW); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        private static void ShowGuide(GObject target, bool needUpdate = false, string guideStr = null, int yTxt = 0, bool isOptionalGuide = false, float devWidth = 0, float devHeight = 0) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (useNewGuide) return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				- 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            HideGuide(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            if (GameGlobal.skipGuide) 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                return; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-            ViewManager.Show(ViewName.GUIDE_VIEW, new List<object> { target, needUpdate, guideStr, yTxt, isOptionalGuide, devWidth, devHeight 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-}); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				 } 
			 |