Major Update - 2.0.0.143

EN: 2.0.0.143
CN: 2.0.0.142
JP: 2.0.0.145
KR: 2.0.0.150
This commit is contained in:
SL1900
2026-10-20 13:00:00 +09:00
parent 4bcada6061
commit 08b515afd9
1773 changed files with 1095195 additions and 65670 deletions
@@ -1,5 +1,4 @@
local ActivityAvgInfoExCtrl = class("ActivityAvgInfoExCtrl", BaseCtrl)
local AvgData = PlayerData.ActivityAvg
ActivityAvgInfoExCtrl._mapNodeConfig = {
mainLineAvgLvName = {sComponentName = "TMP_Text"},
mainLineAvgLvNum = {sComponentName = "TMP_Text"},
@@ -67,11 +66,14 @@ function ActivityAvgInfoExCtrl:OnDestroy()
end
function ActivityAvgInfoExCtrl:OnRelease()
end
function ActivityAvgInfoExCtrl:OpenLevelInfo(avgId, actId, bNewestStory)
function ActivityAvgInfoExCtrl:OpenLevelInfo(avgId, actId, bNewestStory, bReview)
EventManager.Hit("ActivityStoryReceive_SetVisible", false)
self.avgId = avgId
self.actId = actId
self.bNewestStory = bNewestStory
local mapActivityAvg = AvgData:GetStoryCfgData(avgId)
self.bReview = bReview == true
self.storyData = self.bReview and PlayerData.StoryReview or PlayerData.ActivityAvg
local mapActivityAvg = self.storyData:GetStoryCfgData(avgId)
if mapActivityAvg == nil then
printError("nil mainlineData" .. avgId)
return
@@ -91,7 +93,7 @@ function ActivityAvgInfoExCtrl:OpenLevelInfo(avgId, actId, bNewestStory)
self._mapNode.txtClueNotice:SetActive(mapActivityAvg.HasEvidence)
self._mapNode.imgClueNotice:SetActive(mapActivityAvg.HasEvidence)
self._mapNode.goRewardInfo:SetActive(false)
if not AvgData:IsStoryReaded(mapActivityAvg.Id) then
if not self.storyData:IsStoryReaded(mapActivityAvg.Id) then
local tbReward = decodeJson(mapActivityAvg.FirstCompleteReward)
if tbReward ~= nil then
self._mapNode.goRewardInfo:SetActive(true)
@@ -105,6 +107,7 @@ function ActivityAvgInfoExCtrl:OpenLevelInfo(avgId, actId, bNewestStory)
end
function ActivityAvgInfoExCtrl:OnBtnClick_Close()
self.gameObject:SetActive(false)
EventManager.Hit("ActivityStoryReceive_SetVisible", true)
EventManager.Hit("SelectMainlineBattle", false)
EventManager.Hit("CloseActivityAvgInfo", false)
end
@@ -113,9 +116,10 @@ function ActivityAvgInfoExCtrl:OnBtnClick_MonsterInfo(btn)
end
function ActivityAvgInfoExCtrl:OnBtnClick_OpenAvg(btn)
self.gameObject:SetActive(false)
EventManager.Hit("ActivityStoryReceive_SetVisible", true)
if not self.IsBattle then
EventManager.Hit("SelectMainlineBattle", false)
AvgData:SendMsg_STORY_ENTER(self.actId, self.avgId, 0, self.bNewestStory)
self.storyData:SendMsg_STORY_ENTER(self.actId, self.avgId, 0, self.bNewestStory)
else
EventManager.Hit("SelectMainlineBattle", true)
end