Update - 1.16.0.138

EN: 1.16.0.138
CN: 1.16.0.137
JP: 1.16.0.141
KR: 1.16.0.143
This commit is contained in:
SL1900
2026-09-29 12:00:00 +09:00
parent 1d209ec368
commit 1aa6ba19a4
767 changed files with 1389523 additions and 2758 deletions
+18 -3
View File
@@ -1,4 +1,5 @@
local JumpUtil = {}
local LocalData = require("GameCore.Data.LocalData")
function JumpUtil.JumpTo(jumpId, ...)
if jumpId == nil then
return
@@ -448,10 +449,24 @@ function JumpUtil.JumpToActivity(tbJumpData)
if tbJumpData[1] == GameEnum.jumpType.MainLineStoryChapter then
local chapterIndex = tbJumpData[2]
local isUnlock = PlayerData.Avg:IsStoryChapterUnlock(chapterIndex)
if not isUnlock then
EventManager.Hit(EventId.OpenPanel, PanelId.StoryChapter)
else
if isUnlock then
EventManager.Hit(EventId.OpenPanel, PanelId.MainlineEx, chapterIndex)
else
local sLockReadTipsKey = "Mainline_Preview_Lock_Read_" .. chapterIndex
if LocalData.GetPlayerLocalData(sLockReadTipsKey) then
EventManager.Hit(EventId.OpenPanel, PanelId.MainlineEx, chapterIndex)
return
end
local sTip = ConfigTable.GetUIText("Mainline_Preview_Lock_Read")
local msg = {
nType = AllEnum.MessageBox.Confirm,
sContent = sTip,
callbackConfirm = function()
LocalData.SetPlayerLocalData(sLockReadTipsKey, true)
EventManager.Hit(EventId.OpenPanel, PanelId.MainlineEx, chapterIndex)
end
}
EventManager.Hit(EventId.OpenMessageBox, msg)
end
return
end