Update - 1.11.0.113
EN: 1.11.0.113 CN: 1.11.0.114 JP: 1.11.0.118 KR: 1.11.0.118
This commit is contained in:
@@ -148,7 +148,7 @@ function ActivitySwimCtrl:OnBtnClick_Go()
|
||||
if actGroupCfg ~= nil then
|
||||
if actGroupCfg.TransitionId ~= nil and actGroupCfg.TransitionId > 0 then
|
||||
local callback = function()
|
||||
EventManager.Hit(EventId.OpenPanel, PanelId.SwimTheme, actGroupCfg.Id)
|
||||
EventManager.Hit(EventId.OpenPanel, PanelId.SwimTheme_11100, actGroupCfg.Id)
|
||||
end
|
||||
EventManager.Hit(EventId.SetTransition, actGroupCfg.TransitionId, callback)
|
||||
else
|
||||
|
||||
@@ -86,7 +86,7 @@ function SwimThemeStory_11100Ctrl:RefreshDate()
|
||||
NovaAPI.SetTMPText(self._mapNode.txtActivityDate, dateStr)
|
||||
end
|
||||
function SwimThemeStory_11100Ctrl:RefreshPersonality()
|
||||
local cfg = ConfigTable.GetData("ActivityStoryChapter", self.nChapterId)
|
||||
local cfg = ConfigTable.GetData("ActivityStoryChapter", self.nActId)
|
||||
local personalityId = cfg.PersonalityId
|
||||
self._mapNode.goPersonalityRoot:SetActive(0 < personalityId)
|
||||
if personalityId <= 0 then
|
||||
@@ -135,7 +135,7 @@ function SwimThemeStory_11100Ctrl:OnRefreshGrid(grid, index)
|
||||
local reddot = RootNode:Find("RedDot")
|
||||
local isUnlock, tbResult = ActivityAvgData:IsUnlock(avgcfg.ConditionId)
|
||||
local isReaded = ActivityAvgData:IsStoryReaded(storyId)
|
||||
local bOpen, nOpenTime = ActivityAvgData:IsOpen(avgcfg.StoryId)
|
||||
local bOpen, nOpenTime = ActivityAvgData:IsOpen(avgcfg.StoryId, self.nActId)
|
||||
local isFullUnlock = isUnlock and bOpen
|
||||
goUnlock.gameObject:SetActive(isFullUnlock)
|
||||
goComplete.gameObject:SetActive(isReaded and bOpen)
|
||||
|
||||
@@ -116,7 +116,8 @@ SwimTheme_11100Ctrl._mapNodeConfig = {
|
||||
txtTaskProgressEnd = {sComponentName = "TMP_Text"},
|
||||
redDotEntrance2 = {},
|
||||
storyRedDot = {},
|
||||
reddotLevel = {}
|
||||
reddotLevel = {},
|
||||
imgRemaineTime = {}
|
||||
}
|
||||
SwimTheme_11100Ctrl._mapEventConfig = {}
|
||||
SwimTheme_11100Ctrl._mapRedDotConfig = {}
|
||||
@@ -211,6 +212,7 @@ function SwimTheme_11100Ctrl:RefreshTime()
|
||||
end
|
||||
end
|
||||
self._mapNode.imgEnd:SetActive(not bOpen)
|
||||
self._mapNode.imgRemaineTime.gameObject:SetActive(bOpen)
|
||||
local nOpenMonth, nOpenDay, nEndMonth, nEndDay, nOpenYear, nEndYear = self.SwimThemeData:GetActGroupDate()
|
||||
local strOpenDay = string.format("%d", nOpenDay)
|
||||
local strEndDay = string.format("%d", nEndDay)
|
||||
|
||||
Reference in New Issue
Block a user