Update - 1.9.0.103

EN: 1.9.0.103
CN: 1.9.0.104
JP: 1.9.0.106
KR: 1.9.0.108
This commit is contained in:
SL1900
2026-04-18 00:15:00 +09:00
parent 35fe1f046d
commit e0549005e1
1150 changed files with 941124 additions and 19847 deletions
+6 -1
View File
@@ -24,8 +24,10 @@ MallPackageItemCtrl._mapNodeConfig = {
goSaleRate = {
sComponentName = "RectTransform"
},
fxSaleRate = {sNodeName = "goSaleRate", sComponentName = "UIShiny"},
txtSaleRate = {sComponentName = "TMP_Text"},
imgMask = {},
imgSaleMask = {},
reddotPkg = {},
reddotNew = {}
}
@@ -100,7 +102,10 @@ end
function MallPackageItemCtrl:RefreshCond(mapCfg, mapData)
local tbCond = decodeJson(mapCfg.OrderCondParams)
local bPurchaseAble = PlayerData.Shop:CheckShopCond(mapCfg.OrderCondType, tbCond)
self._mapNode.imgMask:SetActive(mapData.nCurStock == 0 or not bPurchaseAble)
local bShowMask = mapData.nCurStock == 0 or not bPurchaseAble
self._mapNode.imgMask:SetActive(bShowMask)
self._mapNode.imgSaleMask:SetActive(bShowMask)
NovaAPI.SetComponentEnable(self._mapNode.fxSaleRate, not bShowMask)
self._mapNode.goCondition:SetActive(not bPurchaseAble)
self._mapNode.goSoldOut:SetActive(mapData.nCurStock == 0)
if not bPurchaseAble then