【破阵诛仙】 在线结束,主城入口显示0000不消失,点击入口黑屏
parent
cf0cd114fe
commit
36b66f03e1
|
|
@ -807,7 +807,11 @@ function this:BindEvent()
|
|||
end)
|
||||
--破阵诛仙、限时召唤、乾坤宝盒
|
||||
Util.AddClick(this.btnDynamicActivity, function ()
|
||||
UIManager.OpenPanel(UIName.DynamicActivityPanel)
|
||||
if ActivityGiftManager.GetActivityOpenStatus(ActivityTypeDef.FindFairy) then
|
||||
UIManager.OpenPanel(UIName.DynamicActivityPanel)
|
||||
else
|
||||
this.btnDynamicActivity.gameObject:SetActive(false)
|
||||
end
|
||||
end)
|
||||
|
||||
--神将合成、神将置换
|
||||
|
|
@ -1375,22 +1379,26 @@ function this.TimeFormat()
|
|||
if dynamicAct then
|
||||
local info = ActivityGiftManager.GetActivityTypeInfo(ActivityTypeDef.FindFairy)
|
||||
local tempTime = info.endTime - PlayerManager.serverTime
|
||||
if tempTime>= 86400 then
|
||||
this.DynamicActivityTime.text = TimeToDH(tempTime)
|
||||
else
|
||||
this.DynamicActivityTime.text = TimeToHMS(tempTime)
|
||||
end
|
||||
if tempTime>= 86400 then
|
||||
this.DynamicActivityTime.text = TimeToDH(tempTime)
|
||||
else
|
||||
this.DynamicActivityTime.text = TimeToHMS(tempTime)
|
||||
end
|
||||
else
|
||||
this.btnDynamicActivity.gameObject:SetActive(false)
|
||||
end
|
||||
--青龙秘宝
|
||||
local QingLong = ActivityGiftManager.IsActivityTypeOpen(ActivityTypeDef.TreasureOfSomeBody)
|
||||
if QingLong then
|
||||
local info = ActivityGiftManager.GetActivityTypeInfo(ActivityTypeDef.TreasureOfSomeBody)
|
||||
local tempTime = info.endTime - PlayerManager.serverTime
|
||||
if tempTime>= 86400 then
|
||||
this.treasureOfSlText.text = TimeToDH(tempTime)
|
||||
else
|
||||
this.treasureOfSlText.text = TimeToHMS(tempTime)
|
||||
end
|
||||
if tempTime>= 86400 then
|
||||
this.treasureOfSlText.text = TimeToDH(tempTime)
|
||||
else
|
||||
this.treasureOfSlText.text = TimeToHMS(tempTime)
|
||||
end
|
||||
else
|
||||
this.treasureOfSl.gameObject:SetActive(false)
|
||||
end
|
||||
|
||||
--云梦祈福
|
||||
|
|
|
|||
Loading…
Reference in New Issue