【无尽副本】世界等级显示1级 修改
parent
a7feaa8b2e
commit
a75d553a6a
|
@ -207,7 +207,7 @@ function this.SetStaticData()
|
|||
|
||||
|
||||
|
||||
this.worldLevel.text = EndLessMapManager.worldLevel
|
||||
this.worldLevel.text = PlayerManager.worldLeve --EndLessMapManager.worldLevel
|
||||
this.worldMode.text = MAP_MODE[mapConfig[EndLessMapManager.openMapId].DifficultType]
|
||||
this.miniMapName.text = mapData.Info
|
||||
end
|
||||
|
|
|
@ -807,6 +807,6 @@ function this.WorldLevelIndication(buffer)
|
|||
local msg = PlayerInfoProto_pb.WorldLevelIndication()
|
||||
msg:ParseFromString(data)
|
||||
-- LogError("%%%%%%%%%%世界等级推送 "..msg.worldLeve)
|
||||
-- PlayerManager.RefreshWorldLeveData(msg.worldLeve)
|
||||
PlayerManager.RefreshWorldLeveData(msg.worldLeve)
|
||||
end
|
||||
return this
|
|
@ -211,6 +211,7 @@ function this.PlayerInfoRequest(func)
|
|||
-- LogGreen("GetPlayerInfoResponse.treasureLevel:"..msg.treasureLevel)
|
||||
QinglongSerectTreasureManager.SetLevel(msg.treasureLevel)
|
||||
QinglongSerectTreasureManager.SetTreasureBuyStatus(msg.hadBuyTreasure)
|
||||
PlayerManager.RefreshWorldLeveData(msg.worldLeve)
|
||||
if func then
|
||||
func(msg)
|
||||
end
|
||||
|
|
|
@ -442,6 +442,12 @@ function this.StarBattleUpLvTipTime(type)
|
|||
battleUpLvTipTime:Start()
|
||||
end
|
||||
end
|
||||
|
||||
function this.RefreshWorldLeveData(worldLeve)
|
||||
this.worldLeve = worldLeve
|
||||
-- Game.GlobalEvent:DispatchEvent(GameEvent.JumpServerHeightLadder.UpdateWordLv)
|
||||
end
|
||||
|
||||
function this.StopBattleUpLvTipTime()
|
||||
if battleUpLvTipTime then
|
||||
battleUpLvTipTime:Stop()
|
||||
|
|
Loading…
Reference in New Issue