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