gm特惠弹窗修改
parent
43e635341b
commit
22af1dbc5a
|
|
@ -1182,20 +1182,21 @@ end
|
|||
function this:TabBtnAction(id,actType,data)
|
||||
if actType == 1 then
|
||||
if id == ActivityTypeDef.FirstRecharge then
|
||||
if PlayerPrefs.GetInt(PlayerManager.uid.."isGMEsp")==0 then
|
||||
local isOpen=CheckFunctionOpen(153)
|
||||
if isOpen then
|
||||
UIManager.OpenPanel(UIName.GMEspecially,function()
|
||||
UIManager.OpenPanel(UIName.FirstRechargePanel)
|
||||
PlayerPrefs.SetInt(PlayerManager.uid.."isGMEsp",1)
|
||||
end)
|
||||
else
|
||||
UIManager.OpenPanel(UIName.FirstRechargePanel)
|
||||
end
|
||||
-- if PlayerPrefs.GetInt(PlayerManager.uid.."isGMEsp")==0 then
|
||||
-- local isOpen=CheckFunctionOpen(153)
|
||||
-- if isOpen then
|
||||
-- UIManager.OpenPanel(UIName.GMEspecially,function()
|
||||
-- UIManager.OpenPanel(UIName.FirstRechargePanel)
|
||||
-- PlayerPrefs.SetInt(PlayerManager.uid.."isGMEsp",1)
|
||||
-- end)
|
||||
-- else
|
||||
-- UIManager.OpenPanel(UIName.FirstRechargePanel)
|
||||
-- end
|
||||
|
||||
else
|
||||
UIManager.OpenPanel(UIName.FirstRechargePanel)
|
||||
end
|
||||
-- else
|
||||
-- UIManager.OpenPanel(UIName.FirstRechargePanel)
|
||||
-- end
|
||||
UIManager.OpenPanel(UIName.FirstRechargePanel)
|
||||
elseif id == ActivityTypeDef.SevenDayCarnival then
|
||||
UIManager.OpenPanel(UIName.SevenDayCarnivalPanelV2,SevenDayCarnivalManager.GetPriorityDayNumber())
|
||||
elseif id == ActivityTypeDef.WarPowerSort then
|
||||
|
|
|
|||
|
|
@ -185,7 +185,7 @@ function CreateNamePopup:BindEvent()
|
|||
if this.options then
|
||||
self:ClosePanel()
|
||||
StoryManager.StoryJumpType(this.options[1], nil, this.callBackFunc)
|
||||
--UIManager.OpenPanel(UIName.GMEspecially)
|
||||
UIManager.OpenPanel(UIName.GMEspecially)
|
||||
-- 发送创建角色事件
|
||||
CustomEventManager.SendCustomEvents(FBSDKCustomEventType.CreateCharacter)
|
||||
CustomEventManager.SendCustomEvents(FBSDKCustomEventType.RoleLv,1)
|
||||
|
|
|
|||
Loading…
Reference in New Issue