StoryChapterView.cs 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431
  1. using FairyGUI;
  2. using UI.CommonGame;
  3. using UI.Main;
  4. using System.Collections.Generic;
  5. using UnityEngine;
  6. using System.Collections;
  7. namespace GFGGame
  8. {
  9. public class StoryChapterView : BaseView
  10. {
  11. private UI_StoryChapterUI _ui;
  12. private int _chapterID;
  13. private GComponent _compChapter;
  14. private ValueBarController _valueBarController;
  15. private GObject _unPasslevelItem;
  16. private GObject _endLevelItem;
  17. private EffectUI _effectUI1;
  18. private GComponent _comEff;
  19. private int currentDifficulty;
  20. public override void Dispose()
  21. {
  22. if (_comEff != null)
  23. {
  24. _comEff.RemoveFromParent();
  25. _comEff.Dispose();
  26. }
  27. if (_valueBarController != null)
  28. {
  29. _valueBarController.Dispose();
  30. _valueBarController = null;
  31. }
  32. EffectUIPool.Recycle(_effectUI1);
  33. _effectUI1 = null;
  34. if (_ui != null)
  35. {
  36. _ui.Dispose();
  37. _ui = null;
  38. }
  39. base.Dispose();
  40. }
  41. protected override void Init()
  42. {
  43. base.Init();
  44. _ui = UI_StoryChapterUI.Create();
  45. viewCom = _ui.target;
  46. isfullScreen = true;
  47. isReturnView = true;
  48. }
  49. protected override void OnInit()
  50. {
  51. base.OnInit();
  52. _valueBarController = new ValueBarController(_ui.m_valueBar);
  53. _ui.m_btnBack.onClick.Add(OnClickBtnBack);
  54. _ui.m_btnHome.onClick.Add(OnClickBtnHome);
  55. _ui.m_chapter.m_compChapterScroll.m_imgBegin.onClick.Add(OnClickNext);
  56. _ui.m_bonusBox1.target.onClick.Add(() =>
  57. {
  58. OnClickBonusBox(_ui.m_bonusBox1, 0);
  59. });
  60. _ui.m_bonusBox2.target.onClick.Add(() =>
  61. {
  62. OnClickBonusBox(_ui.m_bonusBox2, 1);
  63. });
  64. _ui.m_bonusBox3.target.onClick.Add(() =>
  65. {
  66. OnClickBonusBox(_ui.m_bonusBox3, 2);
  67. });
  68. _ui.m_loaBg.url = ResPathUtil.GetBgImgPath("zxian_bg3");
  69. _comEff = new GComponent();
  70. _comEff = UIPackage.CreateObject(UI_MainUI.PACKAGE_NAME, "ComEff").asCom;
  71. _effectUI1 = EffectUIPool.CreateEffectUI(_comEff.GetChild("holder").asGraph, "ui_gk", "ui_gk_sg");
  72. }
  73. protected override void AddEventListener()
  74. {
  75. EventAgent.AddEventListener(ConstMessage.NOTICE_MAINSTORY_BOXBONUS_STATE, UpdateBonusBox);
  76. }
  77. protected override void OnShown()
  78. {
  79. base.OnShown();
  80. _ui.target.touchable = false;
  81. MusicManager.Instance.Play(ResPathUtil.GetMusicPath(ConstMusicName.DEFAULT));
  82. if ((this.viewData as object[]) != null)
  83. {
  84. _chapterID = (int)(this.viewData as object[])[0];
  85. currentDifficulty = (int)(this.viewData as object[])[1];
  86. }
  87. else
  88. {
  89. _chapterID = (int)this.viewData;
  90. }
  91. MainStoryDataManager.currentChapterCfgId = _chapterID;
  92. Timers.inst.StartCoroutine(InitChapter());
  93. _valueBarController.OnShown();
  94. _ui.target.touchable = true;
  95. Timers.inst.AddUpdate(CheckGuide);
  96. int chapterNum = StoryChapterCfgArray.Instance.GetCfgsBysubType(currentDifficulty).Count;
  97. if (MainStoryDataManager.CurrentChapterOrder == chapterNum)
  98. {
  99. _ui.m_chapter.m_compChapterScroll.m_imgBegin.visible = false;
  100. }
  101. else
  102. {
  103. _ui.m_chapter.m_compChapterScroll.m_imgBegin.visible = true;
  104. }
  105. }
  106. protected override void OnHide()
  107. {
  108. base.OnHide();
  109. _unPasslevelItem = null;
  110. _endLevelItem = null;
  111. // _ui.m_chapter.RemoveChildren(0, 0, true);
  112. _valueBarController.OnHide();
  113. Timers.inst.Remove(CheckGuide);
  114. }
  115. protected override void RemoveEventListener()
  116. {
  117. base.RemoveEventListener();
  118. EventAgent.RemoveEventListener(ConstMessage.NOTICE_MAINSTORY_BOXBONUS_STATE, UpdateBonusBox);
  119. }
  120. private void OnClickBtnBack()
  121. {
  122. ViewManager.GoBackFrom(typeof(StoryChapterView).FullName);
  123. }
  124. private void OnClickBtnHome()
  125. {
  126. GameController.GoBackToMainView();
  127. }
  128. private void OnClickNext()
  129. {
  130. if (MainStoryDataManager.CheckChapterUnlock(_chapterID+1))
  131. {
  132. ViewManager.Show<StoryChapterView>(new object[] { _chapterID+1, currentDifficulty }, new object[] { typeof(StoryChapterListView).FullName, new object[] { currentDifficulty } });
  133. }
  134. else
  135. {
  136. PromptController.Instance.ShowFloatTextPrompt("需通关前置关卡");
  137. }
  138. }
  139. private IEnumerator InitChapter()
  140. {
  141. StoryChapterCfg chapterCfg = StoryChapterCfgArray.Instance.GetCfg(_chapterID);
  142. _ui.m_txtChapterName0.text = chapterCfg.name.Length > 0 ? chapterCfg.name[0].ToString() : "";
  143. _ui.m_txtChapterName1.text = chapterCfg.name.Length > 1 ? chapterCfg.name[1].ToString() : "";
  144. _ui.m_txtChapterName2.text = chapterCfg.name.Length > 2 ? chapterCfg.name[2].ToString() : "";
  145. _ui.m_txtChapterName3.text = chapterCfg.name.Length > 3 ? chapterCfg.name[3].ToString() : "";
  146. _ui.m_txtChapterName4.text = chapterCfg.name.Length > 4 ? chapterCfg.name[4].ToString() : "";
  147. int order = StoryUtil.GetChapterOrder(chapterCfg.id);
  148. _ui.m_txtChapter.text = order < 10 ? "0" + order : order.ToString();
  149. int starCountChapter = InstanceZonesDataManager.GetChapterStarCount(_chapterID, chapterCfg.type, chapterCfg.subType);
  150. _ui.m_txtStarCount.text = "" + starCountChapter + "/" + chapterCfg.bonusStar3;
  151. UpdateBonusBoxName(_ui.m_bonusBox1, "" + chapterCfg.bonusStar1);
  152. UpdateBonusBoxName(_ui.m_bonusBox2, "" + chapterCfg.bonusStar2);
  153. UpdateBonusBoxName(_ui.m_bonusBox3, "" + chapterCfg.bonusStar3);
  154. UpdateBonusBox();
  155. var list = StoryLevelCfgArray.Instance.GetCfgsBytypeAndsubTypeAndchapterId(chapterCfg.type, chapterCfg.subType, chapterCfg.id);
  156. int endLevel = 0;
  157. int UnlockCount = 0;
  158. _compChapter = _ui.m_chapter.m_compChapterScroll.target;
  159. float starPosY = _ui.m_chapter.m_compChapterScroll.m_imgBegin.y;
  160. int lineGap = 4500 / list.Count;
  161. _comEff.visible = false;
  162. for (int i = 0; i < 20; i++)
  163. {
  164. GObject obj = _ui.m_chapter.m_compChapterScroll.target.GetChild("g" + (19 - i + 1));
  165. obj.SetPosition(obj.x, starPosY - lineGap * i - 300, 0); ;
  166. StoryLevelCfg levelCfg = i < list.Count ? list[i] : null;
  167. UI_CompStoryLevelItem levelItem = UI_CompStoryLevelItem.Proxy(obj);
  168. if (levelCfg != null && MainStoryDataManager.CheckLevelUnlock(levelCfg.id))
  169. {
  170. UnlockCount++;
  171. levelItem.target.data = levelCfg.id;
  172. levelItem.target.visible = true;
  173. levelItem.target.onClick.Clear();
  174. levelItem.target.onClick.Add(OnClickLevelItem);
  175. string showId = StoryUtil.GetChapterOrder(_chapterID) + "-" + levelCfg.order;
  176. levelItem.m_txtDialogOrder.text = showId;
  177. levelItem.m_txtFightOrder.text = showId;
  178. if (levelCfg.fightID.Length > 0)
  179. {
  180. levelItem.m_c1.selectedIndex = 1;
  181. int score = InstanceZonesDataManager.GetScoreHighest(levelCfg.id);
  182. if (score <= 0)
  183. {
  184. levelItem.m_flower.target.visible = false;
  185. }
  186. else
  187. {
  188. levelItem.m_flower.target.visible = true;
  189. int starCount = InstanceZonesDataManager.GetStarCountHistory(levelCfg.id);
  190. StoryUtil.UpdateStar(starCount, levelItem.m_flower.target);
  191. }
  192. }
  193. else
  194. {
  195. levelItem.m_c1.selectedIndex = 0;
  196. levelItem.m_flower.target.visible = false;
  197. levelItem.m_txtName.text = levelCfg.name;
  198. levelItem.m_comDialogBg.m_loabg.url = ResPathUtil.GetBgImgPath(chapterCfg.bgRes);
  199. levelItem.m_comDialogBg.m_loaIcon.url = ResPathUtil.GetChapterGuideIconPath(chapterCfg.bgRes);
  200. levelItem.m_comDialogBg.m_c1.selectedIndex = Random.Range(0, 10);
  201. }
  202. //根据困难程度选择显示图片
  203. if (currentDifficulty == 1)
  204. {
  205. levelItem.m_loaDialogBg.url = "ui://Main/zxian_btn_jq_jy";
  206. levelItem.m_fightBg.url = "ui://Main/zxian_btn_zd_jy";
  207. levelItem.m_txtFightOrder.text = string.Format("{0}", StringUtil.GetColorText(showId.ToString(), "#E3F8FF"));
  208. levelItem.m_fightIconA.alpha = 0;
  209. levelItem.m_fightIconB.alpha = 0;
  210. _ui.m_txtBg.url = "ui://Main/zxian_chapter_dec_jy";
  211. _ui.m_txtChapterName0.strokeColor = new Color(0.592f, 0.773f, 0.961f, 1.000f);
  212. _ui.m_txtChapterName1.strokeColor = new Color(0.592f, 0.773f, 0.961f, 1.000f);
  213. _ui.m_txtChapterName2.strokeColor = new Color(0.592f, 0.773f, 0.961f, 1.000f);
  214. _ui.m_txtChapterName3.strokeColor = new Color(0.592f, 0.773f, 0.961f, 1.000f);
  215. _ui.m_txtChapterName4.strokeColor = new Color(0.592f, 0.773f, 0.961f, 1.000f);
  216. _ui.m_txtChapter.strokeColor = new Color(0.592f, 0.773f, 0.961f, 1.000f);
  217. }
  218. else
  219. {
  220. levelItem.m_loaDialogBg.url = "ui://Main/zxian_btn_jq";
  221. levelItem.m_fightBg.url = "ui://Main/zxian_btn_zd";
  222. levelItem.m_txtFightOrder.text = string.Format("{0}", StringUtil.GetColorText(showId.ToString(), "#FFEABF"));
  223. levelItem.m_fightIconA.alpha = 0;
  224. levelItem.m_fightIconB.alpha = 0;
  225. _ui.m_txtBg.url = "ui://Main/zxian_chapter_dec";
  226. _ui.m_txtChapterName0.strokeColor = new Color(1.000f, 0.686f, 0.318f, 1.000f);
  227. _ui.m_txtChapterName1.strokeColor = new Color(1.000f, 0.686f, 0.318f, 1.000f);
  228. _ui.m_txtChapterName2.strokeColor = new Color(1.000f, 0.686f, 0.318f, 1.000f);
  229. _ui.m_txtChapterName3.strokeColor = new Color(1.000f, 0.686f, 0.318f, 1.000f);
  230. _ui.m_txtChapterName4.strokeColor = new Color(1.000f, 0.686f, 0.318f, 1.000f);
  231. _ui.m_txtChapter.strokeColor = new Color(1.000f, 0.686f, 0.318f, 1.000f);
  232. }
  233. levelItem.m_holder.visible = !InstanceZonesDataManager.CheckLevelPass(levelCfg.id);
  234. if (!InstanceZonesDataManager.CheckLevelPass(levelCfg.id))
  235. {
  236. //设置为解锁关卡
  237. MainStoryDataManager.currentLevelCfgId = levelCfg.id;
  238. _unPasslevelItem = levelItem.target;
  239. levelItem.target.AddChild(_comEff);
  240. _comEff.visible = true;
  241. }
  242. if (levelCfg.order > endLevel)
  243. {
  244. endLevel = levelCfg.order;
  245. _endLevelItem = levelItem.target;
  246. }
  247. }
  248. else
  249. {
  250. levelItem.target.visible = false;
  251. }
  252. UI_CompStoryLevelItem.ProxyEnd();
  253. }
  254. yield return new WaitForEndOfFrame();
  255. _ui.m_chapter.m_compChapterScroll.target.y = Mathf.Max(0, _ui.m_chapter.target.height - _ui.m_chapter.m_compChapterScroll.target.height);
  256. }
  257. private void OnClickLevelItem(EventContext context)
  258. {
  259. UI_CompStoryLevelItem levelItem = UI_CompStoryLevelItem.Proxy(context.sender as GObject);
  260. int levelCfgId = (int)levelItem.target.data;
  261. UI_CompStoryLevelItem.ProxyEnd();
  262. StoryController.ShowLevelView(levelCfgId);
  263. TryCompleteGuide();
  264. }
  265. private void UpdateBonusBoxName(UI_CompBonusBox bonusBox, string name)
  266. {
  267. bonusBox.m_txtName.text = name;
  268. }
  269. private void UpdateBonusBox()
  270. {
  271. UpdateBonusBoxStatus(_ui.m_bonusBox1, 0);
  272. UpdateBonusBoxStatus(_ui.m_bonusBox2, 1);
  273. UpdateBonusBoxStatus(_ui.m_bonusBox3, 2);
  274. }
  275. private void UpdateBonusBoxStatus(UI_CompBonusBox bonusBox, int index)
  276. {
  277. int status = MainStoryDataManager.GetChapterBonusStatus(MainStoryDataManager.currentChapterCfgId, index);
  278. bonusBox.m_iconActive.visible = status == ConstBonusStatus.CAN_GET;
  279. // bonusBox.m_ComRewardEffect.visible = status == ConstBonusStatus.CAN_GET;
  280. if (status == ConstBonusStatus.GOT)
  281. {
  282. bonusBox.m_icon.url = "ui://Main/zxian_gift_get";
  283. }
  284. else
  285. {
  286. bonusBox.m_icon.url = "ui://Main/zxian_gift_unget";
  287. }
  288. bonusBox.target.data = status;
  289. }
  290. private async void OnClickBonusBox(UI_CompBonusBox bonusBox, int index)
  291. {
  292. int status = (int)bonusBox.target.data;
  293. if (status == ConstBonusStatus.CAN_GET)
  294. {
  295. bool got = await MainStorySProxy.GetMainStoryBoxBonus(MainStoryDataManager.currentChapterCfgId, index);
  296. if (got)
  297. {
  298. List<ItemData> bonusList = MainStoryDataManager.GetChapterBonus(MainStoryDataManager.currentChapterCfgId, index);
  299. if (bonusList != null && bonusList.Count > 0)
  300. {
  301. BonusController.TryShowBonusList(bonusList);
  302. }
  303. UpdateBonusBoxStatus(bonusBox, index);
  304. }
  305. }
  306. // else if (status == ConstBonusStatus.GOT)
  307. // {
  308. // PromptController.Instance.ShowFloatTextPrompt("这个宝箱已经被领取过了");
  309. // }
  310. else
  311. {
  312. List<ItemData> rewards = StoryBonusDataCache.GetChapterBonusList(_chapterID, index);
  313. int star = StoryBonusDataCache.GetChapterBonusStar(_chapterID, index);
  314. ViewManager.Show<RewardPreView>(new object[] { rewards, "宝箱奖励", string.Format("本章达成{0}星可领取", star) });
  315. // PromptController.Instance.ShowFloatTextPrompt("关卡总分不足,继续加油吧。");
  316. }
  317. }
  318. private void CheckGuide(object param)
  319. {
  320. if (GuideDataManager.IsGuideFinish(ConstGuideId.START_FIGHT) <= 0
  321. || GuideDataManager.IsGuideFinish(ConstGuideId.FREEDOM_DRESS) <= 0
  322. || GuideDataManager.IsGuideFinish(ConstGuideId.ENTER_CHAPTER) <= 0
  323. || GuideDataManager.IsGuideFinish(ConstGuideId.BUY_CLOTHING) <= 0
  324. || GuideDataManager.IsGuideFinish(ConstGuideId.UP_CARD_LV) <= 0
  325. || GuideDataManager.IsGuideFinish(ConstGuideId.ENTER_CHAPTER_1) <= 0
  326. || GuideDataManager.IsGuideFinish(ConstGuideId.ENTER_CHAPTER_2) <= 0
  327. || GuideDataManager.IsGuideFinish(ConstGuideId.ENTER_CHAPTER_3) <= 0
  328. || GuideDataManager.IsGuideFinish(ConstGuideId.ENTER_CHAPTER_4) <= 0
  329. || GuideDataManager.IsGuideFinish(ConstGuideId.ENTER_CHAPTER_5) <= 0
  330. || GuideDataManager.IsGuideFinish(ConstGuideId.UP_CARD_STAR) <= 0
  331. || GuideDataManager.IsGuideFinish(ConstGuideId.ARENA_OPEN) <= 0
  332. || GuideDataManager.IsGuideFinish(ConstGuideId.CLOTHING_DECOMPOSE) <= 0)
  333. {
  334. UpdateToCheckGuide(null);
  335. }
  336. else
  337. {
  338. Timers.inst.Remove(CheckGuide);
  339. }
  340. }
  341. protected override void UpdateToCheckGuide(object param)
  342. {
  343. if (!ViewManager.CheckIsTopView(this.viewCom)) return;
  344. GComponent unPasslevelCom = _unPasslevelItem == null ? null : _unPasslevelItem.asCom;
  345. bool isGuide0 = GuideController.TryGuide(unPasslevelCom, ConstGuideId.START_FIGHT, 1, "尝试换上一套衣服吧。");
  346. bool isGuide1 = GuideController.TryGuide(_ui.m_btnHome, ConstGuideId.FREEDOM_DRESS, 1, "获得的服饰随时可以查看和试穿。");
  347. bool isGuide2 = GuideController.TryGuide(unPasslevelCom, ConstGuideId.ENTER_CHAPTER, 5, "来继续我们的旅程吧。");
  348. GuideController.TryCompleteGuide(ConstGuideId.ENTER_CHAPTER, 5);
  349. bool isGuide3 = GuideController.TryGuide(unPasslevelCom, ConstGuideId.ENTER_CHAPTER_1, 4, "来继续我们的旅程吧。");
  350. GuideController.TryCompleteGuide(ConstGuideId.ENTER_CHAPTER_1, 4);
  351. bool isGuide4 = GuideController.TryGuide(unPasslevelCom, ConstGuideId.BUY_CLOTHING, 1, "衣服被弄脏了,到机场更衣室换身衣服吧。");
  352. bool isGuide5 = GuideController.TryGuide(_ui.m_btnHome, ConstGuideId.UP_CARD_LV, 1, "点击返回主界面。");
  353. bool isGuide6 = GuideController.TryGuide(_ui.m_btnHome, ConstGuideId.CLOTHING_DECOMPOSE, 1, "点击返回主界面。");
  354. bool isGuide7 = GuideController.TryGuide(unPasslevelCom, ConstGuideId.ENTER_CHAPTER_2, 4, "来继续我们的旅程吧。");
  355. GuideController.TryCompleteGuide(ConstGuideId.ENTER_CHAPTER_2, 4);
  356. bool isGuide8 = GuideController.TryGuide(unPasslevelCom, ConstGuideId.ENTER_CHAPTER_3, 3, "来继续我们的旅程吧。");
  357. GuideController.TryCompleteGuide(ConstGuideId.ENTER_CHAPTER_3, 3);
  358. bool isGuide10 = GuideController.TryGuide(unPasslevelCom, ConstGuideId.ENTER_CHAPTER_4, 4, "来继续我们的旅程吧。");
  359. GuideController.TryCompleteGuide(ConstGuideId.ENTER_CHAPTER_4, 4);
  360. bool isGuide11 = GuideController.TryGuide(unPasslevelCom, ConstGuideId.ENTER_CHAPTER_5, 4, "来继续我们的旅程吧。");
  361. GuideController.TryCompleteGuide(ConstGuideId.ENTER_CHAPTER_5, 4);
  362. bool isGuide9 = GuideController.TryGuide(_ui.m_btnHome, ConstGuideId.UP_CARD_STAR, 1, "点击返回主界面。");
  363. bool isGuide12 = GuideController.TryGuide(_ui.m_btnHome, ConstGuideId.ARENA_OPEN, 1, "点击返回主界面。");
  364. _ui.m_chapter.target.scrollPane.touchEffect = !isGuide0 && !isGuide1 && !isGuide2 && !isGuide3 && !isGuide4 && !isGuide5 && !isGuide6 && !isGuide7 && !isGuide8 && !isGuide9 && !isGuide10;
  365. }
  366. protected override void TryCompleteGuide()
  367. {
  368. base.TryCompleteGuide();
  369. // GuideCfg cfg = GuideCfgArray.Instance.GetCfg(ConstGuideId.ENTER_CHAPTER);
  370. GuideController.TryCompleteGuideIndex(ConstGuideId.ENTER_CHAPTER, 5);
  371. GuideController.TryCompleteGuide(ConstGuideId.ENTER_CHAPTER, 5);
  372. // GuideCfg cfg1 = GuideCfgArray.Instance.GetCfg(ConstGuideId.ENTER_CHAPTER_1);
  373. GuideController.TryCompleteGuideIndex(ConstGuideId.ENTER_CHAPTER_1, 4);
  374. GuideController.TryCompleteGuide(ConstGuideId.ENTER_CHAPTER_1, 4);
  375. // GuideCfg cfg2 = GuideCfgArray.Instance.GetCfg(ConstGuideId.ENTER_CHAPTER_2);
  376. GuideController.TryCompleteGuideIndex(ConstGuideId.ENTER_CHAPTER_2, 4);
  377. GuideController.TryCompleteGuide(ConstGuideId.ENTER_CHAPTER_2, 4);
  378. // GuideCfg cfg3 = GuideCfgArray.Instance.GetCfg(ConstGuideId.ENTER_CHAPTER_3);
  379. GuideController.TryCompleteGuideIndex(ConstGuideId.ENTER_CHAPTER_3, 3);
  380. GuideController.TryCompleteGuide(ConstGuideId.ENTER_CHAPTER_3, 3);
  381. // GuideCfg cfg4 = GuideCfgArray.Instance.GetCfg(ConstGuideId.ENTER_CHAPTER_4);
  382. GuideController.TryCompleteGuideIndex(ConstGuideId.ENTER_CHAPTER_4, 4);
  383. GuideController.TryCompleteGuide(ConstGuideId.ENTER_CHAPTER_4, 4);
  384. // GuideCfg cfg5 = GuideCfgArray.Instance.GetCfg(ConstGuideId.ENTER_CHAPTER_5);
  385. GuideController.TryCompleteGuideIndex(ConstGuideId.ENTER_CHAPTER_5, 4);
  386. GuideController.TryCompleteGuide(ConstGuideId.ENTER_CHAPTER_5, 4);
  387. }
  388. }
  389. }