命石修改

dev_one_discount
wangzhenxing 2023-09-01 19:35:49 +08:00
parent 1318c74f59
commit f792ab4c7d
3 changed files with 11 additions and 10 deletions

View File

@ -71,14 +71,15 @@ function this.InitGemsInfo(msg)
-- if oldWarPower ~= tempPower then
-- UIManager.OpenPanel(UIName.WarPowerChangeNotifyPanelV2,{oldValue = oldWarPower,newValue = tempPower})
-- end
if this.timer~=nil then
this.timer:Stop()
this.timer=nil
end
this.timer = Timer.New(function ()
Game.GlobalEvent:DispatchEvent(GameEvent.Gem.RefreshPanel)
end, 1, -1, true)
this.timer:Start()
-- if this.timer~=nil then
-- this.timer:Stop()
-- this.timer=nil
-- end
-- this.timer = Timer.New(function ()
-- LogError("****************************")
-- Game.GlobalEvent:DispatchEvent(GameEvent.Gem.RefreshPanel)
-- end, 3)
-- this.timer:Start()
end

View File

@ -366,7 +366,7 @@ function Gem:OnShow()
self.playerInfoView:OnShow()
Util.SetParticleSortLayer(self.fx_ui_xiuxingshengxin_cangzhu, self.sortingOrder + 1)
--self:Refresh()
--self:UpdatePanelData(1)
self:UpdatePanelData(curType)
end
function Gem:Refresh()

View File

@ -12,7 +12,7 @@ function NiuQiChongTianPanel:New(gameObject)
end
local TabBox = require("Modules/Common/TabBox")
local _TabData={ [1] = { default = "r_hero_xuanze_002", select = "r_hero_xuanze_001", name = Language[12251] , nameNew = "神将招募" ,rpType = RedPointType.NiuQiChongTian_1},
[2] = { default = "r_hero_xuanze_002", select = "r_hero_xuanze_001", name = Language[12252] , nameNew = "神将升星" ,rpType = RedPointType.NiuQiChongTian_2},
[2] = { default = "r_hero_xuanze_002", select = "r_hero_xuanze_001", name = Language[12252] , nameNew = "妖晶消耗" ,rpType = RedPointType.NiuQiChongTian_2},
[3] = { default = "r_hero_xuanze_002", select = "r_hero_xuanze_001", name = Language[12253] , nameNew = "极速探索" ,rpType = RedPointType.NiuQiChongTian_3},}
local _TabFontColor = { default = Color.New(130 / 255, 128 / 255, 120 / 255, 1),
select = Color.New(243 / 255, 235 / 255, 202 / 255, 1)}