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
@@ -1,8 +1,11 @@
local ThrowGiftItemSelectGridCtrl = class("ThrowGiftItemSelectGridCtrl", BaseCtrl)
ThrowGiftItemSelectGridCtrl._mapNodeConfig = {
txtBtnConfirm = {sComponentName = "TMP_Text"},
txtBtnConfirm = {
sComponentName = "TMP_Text",
sLanguageId = "ThrowGift_GetCard"
},
btnConfirm = {
sComponentName = "UIButton",
sComponentName = "NaviButton",
callback = "OnBtnClick_Confirm"
},
imgBgSelect = {},
@@ -25,6 +28,7 @@ end
function ThrowGiftItemSelectGridCtrl:OnEnable()
self.Idx = 0
self.animator = self.gameObject:GetComponent("Animator")
self._mapNode.btnConfirm.interactable = false
end
function ThrowGiftItemSelectGridCtrl:OnDisable()
end
@@ -43,12 +47,15 @@ function ThrowGiftItemSelectGridCtrl:Refresh(nItemId)
NovaAPI.SetTMPText(self._mapNode.TMPItemName, mapItemCfgData.Name)
NovaAPI.SetTMPText(self._mapNode.TMPItemDesc, mapItemCfgData.Desc)
self:SetPngSprite(self._mapNode.imgItemIcon, mapItemCfgData.Icon)
self._mapNode.btnConfirm.interactable = false
end
function ThrowGiftItemSelectGridCtrl:SetSelect(bSelect)
if bSelect then
self._mapNode.AnimRoot:Play("btnItemSelect_in")
self._mapNode.btnConfirm.interactable = true
else
self._mapNode.AnimRoot:Play("btnItemSelect_out")
self._mapNode.btnConfirm.interactable = false
end
self._mapNode.imgBgSelect:SetActive(bSelect)
end