Initial version - 1.2.0.60
EN: 1.2.0.60 CN: 1.2.0.61 JP: 1.2.0.63 KR: 1.2.0.67
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
local BattlePassBuyLevelItemGridCtrl = class("BattlePassBuyLevelItemGridCtrl", BaseCtrl)
|
||||
BattlePassBuyLevelItemGridCtrl._mapNodeConfig = {
|
||||
rtItem = {
|
||||
sCtrlName = "Game.UI.TemplateEx.TemplateItemCtrl"
|
||||
},
|
||||
btnGrid = {
|
||||
sComponentName = "UIButton",
|
||||
callback = "OnBtnClick_Grid"
|
||||
}
|
||||
}
|
||||
BattlePassBuyLevelItemGridCtrl._mapEventConfig = {}
|
||||
BattlePassBuyLevelItemGridCtrl._mapRedDotConfig = {}
|
||||
function BattlePassBuyLevelItemGridCtrl:Refresh(nTid, nCount)
|
||||
self.nTid = nTid
|
||||
self._mapNode.rtItem:SetItem(nTid, nil, nCount, nil, false, false, false, true, false)
|
||||
end
|
||||
function BattlePassBuyLevelItemGridCtrl:OnBtnClick_Grid(btn)
|
||||
UTILS.ClickItemGridWithTips(self.nTid, btn.gameObject.transform, true, true, false)
|
||||
end
|
||||
return BattlePassBuyLevelItemGridCtrl
|
||||
Reference in New Issue
Block a user