tcx_xiyou_yueNan
parent
b15f6d25a4
commit
a0f81c8555
|
@ -128,12 +128,6 @@ function BattleFailPopup:OnOpen(battlePanel, showRecord, backPanel, _fightType)
|
|||
--车迟抢夺cd计时
|
||||
GuildCarDelayManager.SetCdTime(GuildCarDelayProType.Loot)
|
||||
end
|
||||
if PlayerManager.serverTime > (PlayerPrefs.GetInt("FirstRecharge", 0) + 86400) then
|
||||
local activityId = ActivityGiftManager.IsActivityTypeOpen(ActivityTypeDef.FirstRecharge)
|
||||
if activityId and activityId ~= 0 and ActTimeCtrlManager.SingleFuncState(1) then
|
||||
UIManager.OpenPanel(UIName.FirstRechargePanel)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
function this:LoseJump(id)
|
||||
|
@ -233,6 +227,12 @@ end
|
|||
--界面关闭时调用(用于子类重写)
|
||||
function BattleFailPopup:OnClose()
|
||||
Game.GlobalEvent:DispatchEvent(GameEvent.Map.MaskState, 0)
|
||||
if PlayerManager.serverTime > (PlayerPrefs.GetInt("FirstRecharge", 0) + 86400) then
|
||||
local activityId = ActivityGiftManager.IsActivityTypeOpen(ActivityTypeDef.FirstRecharge)
|
||||
if activityId and activityId ~= 0 and ActTimeCtrlManager.SingleFuncState(1) then
|
||||
UIManager.OpenPanel(UIName.FirstRechargePanel)
|
||||
end
|
||||
end
|
||||
end
|
||||
|
||||
--界面销毁时调用(用于子类重写)
|
||||
|
|
Loading…
Reference in New Issue