|
@@ -111,7 +111,6 @@ namespace GFGGame
|
|
public static void TryGuideDressUpFightViewBtnRecommend(GObject target, GList list)
|
|
public static void TryGuideDressUpFightViewBtnRecommend(GObject target, GList list)
|
|
{
|
|
{
|
|
_list = list;
|
|
_list = list;
|
|
- Debug.Log(StoryDataManager.currentLevel);
|
|
|
|
if (GuideDataManager.GetGuideCount(ConstGuideId.CLOTHING_SHOP_VIEW_BTN_BUY) <= 0
|
|
if (GuideDataManager.GetGuideCount(ConstGuideId.CLOTHING_SHOP_VIEW_BTN_BUY) <= 0
|
|
&& StoryDataManager.currentLevel == 4
|
|
&& StoryDataManager.currentLevel == 4
|
|
&& !StoryDataManager.CheckLevelPass(StoryDataManager.currentChapter, StoryDataManager.currentLevel)
|
|
&& !StoryDataManager.CheckLevelPass(StoryDataManager.currentChapter, StoryDataManager.currentLevel)
|
|
@@ -243,7 +242,46 @@ namespace GFGGame
|
|
ShowGuide(target, false, "点击使用技能");
|
|
ShowGuide(target, false, "点击使用技能");
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- /******************************************************************************************************/
|
|
|
|
|
|
+ /*******************************************************引导抽奖***********************************************/
|
|
|
|
+ public static bool TryGuideGoBackStoryChapter(GObject target)
|
|
|
|
+ {
|
|
|
|
+ Debug.Log(StoryDataManager.CheckLevelPass(1, 10));
|
|
|
|
+
|
|
|
|
+ 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)
|
|
public static bool TryGuideDressUpViewMenuType1(GList list)
|
|
{
|
|
{
|
|
@@ -287,6 +325,72 @@ namespace GFGGame
|
|
}
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
+ /************************************************************引导合成套装*******************************************************/
|
|
|
|
+
|
|
|
|
+ public static void TryGuideStoryLevelInfoViewTxtNeed(GObject target)
|
|
|
|
+ {
|
|
|
|
+
|
|
|
|
+ if (GuideDataManager.GetGuideCount(ConstGuideId.SUIT_SYNTHETIC_GUIDE) <= 0
|
|
|
|
+ && StoryDataManager.CheckLevelPass(1, 11)
|
|
|
|
+ && !StoryDataManager.CheckLevelPass(1, 12))
|
|
|
|
+ {
|
|
|
|
+ GuideDataManager.currentGuideId = ConstGuideId.SUIT_SYNTHETIC_GUIDE;
|
|
|
|
+ ShowGuide(target, false, "还没有通关必须合成的衣服,快去合成一件吧!", 0);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ public static void TryGuideStoryLevelInfoView(GObject target)
|
|
|
|
+ {
|
|
|
|
+
|
|
|
|
+ if (GuideDataManager.GetGuideCount(ConstGuideId.SUIT_SYNTHETIC_GUIDE) <= 0
|
|
|
|
+ && StoryDataManager.CheckLevelPass(1, 11)
|
|
|
|
+ && !StoryDataManager.CheckLevelPass(1, 12))
|
|
|
|
+ {
|
|
|
|
+ ShowGuide(target, false, "点击空白处关闭", 0);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ public static void TryGuideStoryChapterViewBtnHome(GObject target)
|
|
|
|
+ {
|
|
|
|
+
|
|
|
|
+ if (GuideDataManager.GetGuideCount(ConstGuideId.SUIT_SYNTHETIC_GUIDE) <= 0
|
|
|
|
+ && StoryDataManager.CheckLevelPass(1, 11)
|
|
|
|
+ && !StoryDataManager.CheckLevelPass(1, 12))
|
|
|
|
+ {
|
|
|
|
+ ShowGuide(target, false, "点击返回主界面", 0);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ public static void TryGuideMainUIViewBtnXiuFang(GObject target)
|
|
|
|
+ {
|
|
|
|
+
|
|
|
|
+ if (GuideDataManager.GetGuideCount(ConstGuideId.SUIT_SYNTHETIC_GUIDE) <= 0
|
|
|
|
+ && StoryDataManager.CheckLevelPass(1, 11)
|
|
|
|
+ && !StoryDataManager.CheckLevelPass(1, 12))
|
|
|
|
+ {
|
|
|
|
+ GuideDataManager.currentGuideId = ConstGuideId.SUIT_SYNTHETIC_GUIDE;
|
|
|
|
+ ShowGuide(target, false, "点击进入绣坊", 0);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ public static void TryGuideSuitSyntheticView(GObject target)
|
|
|
|
+ {
|
|
|
|
+
|
|
|
|
+ if (GuideDataManager.GetGuideCount(ConstGuideId.SUIT_SYNTHETIC_GUIDE) <= 0
|
|
|
|
+ && StoryDataManager.CheckLevelPass(1, 11)
|
|
|
|
+ && !StoryDataManager.CheckLevelPass(1, 12))
|
|
|
|
+ {
|
|
|
|
+ ShowGuide(target, false, "点击进入套装合成", 0);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+ public static void TryGuideSuitSyntheticViewList(GList target)
|
|
|
|
+ {
|
|
|
|
+
|
|
|
|
+ if (GuideDataManager.GetGuideCount(ConstGuideId.SUIT_SYNTHETIC_GUIDE) <= 0
|
|
|
|
+ && StoryDataManager.CheckLevelPass(1, 11)
|
|
|
|
+ && !StoryDataManager.CheckLevelPass(1, 12))
|
|
|
|
+ {
|
|
|
|
+ ShowGuide(target, false, "点击进入套装合成", 0);
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+
|
|
|
|
+
|
|
/*******************************************************************************************************************/
|
|
/*******************************************************************************************************************/
|
|
public static bool TryGuideByGuideId(GObject target, int guideId, int maxCount = 1, bool needUpdate = false, string guideStr = null, int yTxt = 0, int preGuideIdAtThisLogin = 0)
|
|
public static bool TryGuideByGuideId(GObject target, int guideId, int maxCount = 1, bool needUpdate = false, string guideStr = null, int yTxt = 0, int preGuideIdAtThisLogin = 0)
|
|
{
|
|
{
|