Update - 1.7.0.88

EN: 1.7.0.88
CN: 1.7.0.90
JP: 1.7.0.91
KR: 1.7.0.94
This commit is contained in:
SL1900
2026-02-24 22:00:00 +09:00
parent d0c0a3870c
commit 86d82306fe
666 changed files with 920582 additions and 7496 deletions
@@ -23,7 +23,21 @@ ThrowGiftSettleCtrl._mapNodeConfig = {
sComponentName = "TMP_Text",
sLanguageId = "ThrowGift_Settle_GiftCount"
},
TMPSettleGift = {sComponentName = "TMP_Text"}
TMPSettleGift = {sComponentName = "TMP_Text"},
TMPPenguinTitle = {
sComponentName = "TMP_Text",
sLanguageId = "ThrowGift_Settle_RemainCount"
},
TMPPenguin = {sComponentName = "TMP_Text"},
TMPVictoryTitle = {
sComponentName = "TMP_Text",
sLanguageId = "Activity_ThrowGifts_Win"
},
TMPFailTitle = {
sComponentName = "TMP_Text",
sLanguageId = "Activity_ThrowGifts_Fail"
},
imgPenguinBg = {}
}
ThrowGiftSettleCtrl._mapEventConfig = {}
ThrowGiftSettleCtrl._mapRedDotConfig = {}
@@ -43,7 +57,7 @@ function ThrowGiftSettleCtrl:OnDestroy()
end
function ThrowGiftSettleCtrl:OnRelease()
end
function ThrowGiftSettleCtrl:ShowSettle(bWin, nScore, nGift, bNextUnlock)
function ThrowGiftSettleCtrl:ShowSettle(bWin, nScore, nGift, nPenguin, bShowPenguin, bNextUnlock, changeInfo, nLevelId)
self.bWin = bWin
NovaAPI.SetTMPText(self._mapNode.txtBtnConfirm, self.bWin and ConfigTable.GetUIText("ThrowGift_Settle_NextLevel") or ConfigTable.GetUIText("ThrowGift_Settle_Restart"))
local wait = function()
@@ -55,15 +69,41 @@ function ThrowGiftSettleCtrl:ShowSettle(bWin, nScore, nGift, bNextUnlock)
self.gameObject:SetActive(true)
NovaAPI.SetTMPText(self._mapNode.TMPSettleScore, nScore)
NovaAPI.SetTMPText(self._mapNode.TMPSettleGift, nGift)
NovaAPI.SetTMPText(self._mapNode.TMPPenguin, nPenguin)
self._mapNode.imgPenguinBg:SetActive(bShowPenguin)
local nAnimLength = 0
if bWin then
WwiseAudioMgr:PostEvent("Mode_Present_compelete")
self.animator:Play("rtSettle_Victory")
nAnimLength = NovaAPI.GetAnimClipLength(self.animator, {
"rtSettle_Victory"
})
self._mapNode.btnConfirm2.gameObject:SetActive(bNextUnlock)
else
WwiseAudioMgr:PostEvent("Mode_Present_failed")
self._mapNode.btnConfirm2.gameObject:SetActive(true)
self.animator:Play("rtSettle_Fail")
nAnimLength = NovaAPI.GetAnimClipLength(self.animator, {
"rtSettle_Fail"
})
end
EventManager.Hit(EventId.TemporaryBlockInput, nAnimLength)
local timerCb = function()
if changeInfo ~= nil and #changeInfo.Props > 0 then
local mapLevelData = ConfigTable.GetData("ThrowGiftLevel", nLevelId)
local i = 1
local tbItem = {}
while mapLevelData["FirstCompleteReward" .. i .. "Tid"] ~= nil do
local nItemId = mapLevelData["FirstCompleteReward" .. i .. "Tid"]
local nCount = mapLevelData["FirstCompleteReward" .. i .. "Qty"]
table.insert(tbItem, {Tid = nItemId, Qty = nCount})
i = i + 1
end
UTILS.OpenReceiveByDisplayItem(tbItem, changeInfo, nil)
end
EventManager.Hit(EventId.BlockInput, false)
end
self:AddTimer(1, nAnimLength, timerCb, true, true, true)
end
function ThrowGiftSettleCtrl:OnBtnClick_Confirm1()
self.gameObject:SetActive(false)