|
@@ -45,7 +45,11 @@ namespace GFGGame
|
|
|
base.OnShown();
|
|
|
_ui.m_loaBg.url = ResPathUtil.GetBgImgPath("gxhd_bjbj");
|
|
|
|
|
|
- subType = MainStoryDataManager.GetChapterSubType(MainStoryDataManager.currentChapterCfgId);
|
|
|
+ subType = 0;//MainStoryDataManager.GetChapterSubType(MainStoryDataManager.currentChapterCfgId);
|
|
|
+ if (this.viewData != null)
|
|
|
+ {
|
|
|
+ subType = (int)this.viewData;
|
|
|
+ }
|
|
|
_ui.m_listType.selectedIndex = subType;
|
|
|
UpdateList();
|
|
|
}
|
|
@@ -85,7 +89,7 @@ namespace GFGGame
|
|
|
if (MainStoryDataManager.CheckChapterUnlock(chapterID))
|
|
|
{
|
|
|
this.Hide();
|
|
|
- ViewManager.Show(ViewName.STORY_CHAPTER_VIEW, chapterID, new object[] { ViewName.STORY_CHAPTER_LIST_VIEW });
|
|
|
+ ViewManager.Show(ViewName.STORY_CHAPTER_VIEW, chapterID, new object[] { ViewName.STORY_CHAPTER_LIST_VIEW, _ui.m_listType.selectedIndex });
|
|
|
}
|
|
|
else
|
|
|
{
|