TCX_LongZhu
parent
d22ec0fbee
commit
5a2d599145
|
|
@ -1287,6 +1287,8 @@ JumpType = {
|
|||
Gem = 122, --命格
|
||||
Explor = 123, --探索
|
||||
HomeLand = 124, --家园
|
||||
GodsWayTower_1 = 139, --多对塔1
|
||||
GodsWayTower_2 = 140, --多对塔2
|
||||
BuyVigor = 10000, --体力购买
|
||||
BuyGold = 10001, --金币购买
|
||||
Privilege = 10003, -- 特权
|
||||
|
|
|
|||
|
|
@ -543,6 +543,26 @@ local jumpDic = {
|
|||
if data then index = data[2] end
|
||||
UIManager.OpenPanel(UIName.DailyCarbonPanel,index)
|
||||
end,
|
||||
[JumpType.GodsWayTower_1] = function(data) --多对塔
|
||||
if ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.GodsWayTower_1) then
|
||||
local time = PlayerPrefs.GetInt(PlayerManager.uid .. "openFightLevelTime")
|
||||
NetManager.RequestDuoduiInfoRequest(function()
|
||||
UIManager.OpenPanel(UIName.GodsWayListPanel)
|
||||
end)
|
||||
else
|
||||
PopupTipPanel.ShowTip(ActTimeCtrlManager.SystemOpenTip(FUNCTION_OPEN_TYPE.GodsWayTower_1))
|
||||
end
|
||||
end,
|
||||
[JumpType.GodsWayTower_2] = function(data) --多对塔
|
||||
if ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.GodsWayTower_2) then
|
||||
local time = PlayerPrefs.GetInt(PlayerManager.uid .. "openFightLevelTime")
|
||||
NetManager.RequestDuoduiInfoRequest(function()
|
||||
UIManager.OpenPanel(UIName.GodsWayListPanel)
|
||||
end)
|
||||
else
|
||||
PopupTipPanel.ShowTip(ActTimeCtrlManager.SystemOpenTip(FUNCTION_OPEN_TYPE.GodsWayTower_2))
|
||||
end
|
||||
end,
|
||||
[JumpType.DeathPos] = function()--十绝阵
|
||||
if ActTimeCtrlManager.SingleFuncState(FUNCTION_OPEN_TYPE.GUILD) then
|
||||
if PlayerManager.familyId == 0 then
|
||||
|
|
|
|||
|
|
@ -1042,12 +1042,12 @@ function ItemView:NoGetRewardShow(_reward, effectLayer, isShowAddImage)
|
|||
local bagAllNum = BagManager.GetItemCountById(itemSId)
|
||||
if bagAllNum >= itemNum then
|
||||
self.addImage:SetActive(false)
|
||||
self.num:GetComponent("Text").text = string.format("%s/%s", PrintWanNum2(bagAllNum), PrintWanNum2(itemNum))
|
||||
self.num:GetComponent("Text").text = string.format("%s/%s", bagAllNum, itemNum)
|
||||
self.num:GetComponent("Text").color = Color.New(1, 1, 1, 1)
|
||||
--self.pokemonNum:GetComponent("Text").text = string.format("%s/%s", PrintWanNum(bagAllNum), PrintWanNum(itemNum))
|
||||
--self.pokemonNum:GetComponent("Text").color = Color.New(1, 1, 1, 1)
|
||||
else
|
||||
self.num:GetComponent("Text").text = string.format("%s/%s", PrintWanNum2(bagAllNum), PrintWanNum2(itemNum))
|
||||
self.num:GetComponent("Text").text = string.format("%s/%s", bagAllNum, itemNum)
|
||||
self.num:GetComponent("Text").color = UIColor.NOT_ENOUGH_RED
|
||||
--self.pokemonNum:GetComponent("Text").text = string.format("%s/%s", PrintWanNum(bagAllNum), PrintWanNum(itemNum))
|
||||
--self.pokemonNum:GetComponent("Text").color = UIColor.NOT_ENOUGH_RED
|
||||
|
|
|
|||
Loading…
Reference in New Issue