Update - 2.1.0.147

EN: 2.1.0.147
CN: 2.1.0.147
JP: 2.1.0.149
KR: 2.1.0.154
This commit is contained in:
SL1900
2026-11-13 12:00:00 +09:00
parent c84dd6f891
commit da1d2be9fc
822 changed files with 1752348 additions and 1554 deletions
+4 -4
View File
@@ -171,7 +171,7 @@ function StorySetCtrl:OnChapterGridClick(goGrid, gridIndex)
if self.tbChapterGrid[nInstanceId] ~= nil then
nAnimLen = self.tbChapterGrid[nInstanceId]:PlayAnim(false)
end
self.nSelectIndex = nIndex
self.nSelectChapterId = data.nId
self.bResetLsvPos = true
self.nPanelType = panelType_Section
CS.WwiseAudioManager.Instance:PlaySound("ui_mainline_story_menu")
@@ -194,7 +194,7 @@ function StorySetCtrl:RefreshSection()
self:UnbindCtrlByNode(v)
self.tbSectionGrid[nInstanceId] = nil
end
local data = self.tbChapter[self.nSelectIndex]
local data = PlayerData.StorySet:GetChapterData(self.nSelectChapterId)
if nil ~= data then
self.tbSectionList = data.tbSectionList
self._mapNode.sectionLsv:Init(#self.tbSectionList, self, self.OnRefreshSectionGrid, self.OnSectionGridClick, not self.bResetLsvPos)
@@ -338,7 +338,7 @@ function StorySetCtrl:UpdateChapterList()
end
end
function StorySetCtrl:Awake()
self.nSelectIndex = 0
self.nSelectChapterId = 0
self.nCurrentTabIndex = 1
self.nPanelType = panelType_chapter
self.bResetLsvPos = true
@@ -359,7 +359,7 @@ function StorySetCtrl:OnEnable()
for k, v in ipairs(self.tbChapter) do
if v.nId == self.nChapterId then
if v.bUnlock then
self.nSelectIndex = k
self.nSelectChapterId = v.nId
self.nPanelType = panelType_Section
break
end