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:
@@ -31,7 +31,15 @@ SoldierTestEnterCtrl._mapNodeConfig = {
|
||||
txtAttrTitle = {sComponentName = "TMP_Text"},
|
||||
tc_property = {},
|
||||
goPartnerItem = {},
|
||||
PartnerLayouts = {}
|
||||
PartnerLayouts = {},
|
||||
btnTechnology = {
|
||||
sComponentName = "UIButton",
|
||||
callback = "OnBtnClick_Tech"
|
||||
},
|
||||
btnEnterSoldier = {
|
||||
sComponentName = "UIButton",
|
||||
callback = "OnBtnClick_EnterSoldier"
|
||||
}
|
||||
}
|
||||
SoldierTestEnterCtrl._mapEventConfig = {}
|
||||
SoldierTestEnterCtrl._mapRedDotConfig = {}
|
||||
@@ -222,6 +230,8 @@ function SoldierTestEnterCtrl:Awake()
|
||||
self._tbPartnerItemGo = {}
|
||||
end
|
||||
function SoldierTestEnterCtrl:OnEnable()
|
||||
PlayerData.SoldierData:SetCurSelectSeasonId(1)
|
||||
PlayerData.SoldierData:SendSoldierTechDetailReq()
|
||||
self._tbDeployedChess = {}
|
||||
self.tbPartner = {}
|
||||
self:InitChessDropdowns()
|
||||
@@ -237,6 +247,12 @@ function SoldierTestEnterCtrl:OnBtnClick_Confirm()
|
||||
PlayerData.SoldierData:GMEnterSoldier(self._tbDeployedChess, 0, 1, 10101, 10101)
|
||||
end
|
||||
end
|
||||
function SoldierTestEnterCtrl:OnBtnClick_Tech()
|
||||
EventManager.Hit(EventId.OpenPanel, PanelId.SoldierTechPanel)
|
||||
end
|
||||
function SoldierTestEnterCtrl:OnBtnClick_EnterSoldier()
|
||||
EventManager.Hit(EventId.OpenPanel, PanelId.SoldierMainViewPanel)
|
||||
end
|
||||
function SoldierTestEnterCtrl:OnDropDownChanged_Chess(objComp, nIndex)
|
||||
if nIndex ~= nil and self._mapNode.chessId and self._mapNode.chessId[nIndex] == objComp then
|
||||
local nIdIndex = NovaAPI.GetDropDownValue(objComp)
|
||||
|
||||
Reference in New Issue
Block a user