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
@@ -0,0 +1,27 @@
local SoldierTechPreviewPropertyItemCtrl = class("SoldierTechPreviewPropertyItemCtrl", BaseCtrl)
SoldierTechPreviewPropertyItemCtrl._mapNodeConfig = {
imgIcon = {sComponentName = "Image"},
txtProperty = {sComponentName = "TMP_Text"},
txtValue2 = {sComponentName = "TMP_Text"}
}
SoldierTechPreviewPropertyItemCtrl._mapEventConfig = {}
SoldierTechPreviewPropertyItemCtrl._mapRedDotConfig = {}
function SoldierTechPreviewPropertyItemCtrl:Awake()
end
function SoldierTechPreviewPropertyItemCtrl:OnEnable()
end
function SoldierTechPreviewPropertyItemCtrl:OnDisable()
end
function SoldierTechPreviewPropertyItemCtrl:OnDestroy()
end
function SoldierTechPreviewPropertyItemCtrl:Refresh(sIcon, sName, sValue)
if sIcon and 0 < #sIcon then
self:SetPngSprite(self._mapNode.imgIcon, sIcon)
self._mapNode.imgIcon.gameObject:SetActive(true)
else
self._mapNode.imgIcon.gameObject:SetActive(false)
end
NovaAPI.SetTMPText(self._mapNode.txtProperty, sName or "")
NovaAPI.SetTMPText(self._mapNode.txtValue2, sValue or "")
end
return SoldierTechPreviewPropertyItemCtrl