【adjust】修复打点错误

dev_chengFeng
JLIOSM1 2021-04-11 04:20:00 +08:00 committed by JieLing
parent e8dd8f9bea
commit e99b368abb
2 changed files with 6 additions and 3 deletions

View File

@ -191,7 +191,9 @@ function this.BcakUpdateUserExp(_msg)
-- 打点数据 -- 打点数据
TapDBManager.SetLevel(this.level) TapDBManager.SetLevel(this.level)
--发送埋点数据 --发送埋点数据
CustomEventManager.SendCustomEvents(FBSDKCustomEventType.RoleLv,this.level) for l = oldLevel+1, this.level do
CustomEventManager.SendCustomEvents(FBSDKCustomEventType.RoleLv,l)
end
CheckRedPointStatus(RedPointType.OrdinaryExplore) CheckRedPointStatus(RedPointType.OrdinaryExplore)
CheckRedPointStatus(RedPointType.HeroExplore) CheckRedPointStatus(RedPointType.HeroExplore)
CheckRedPointStatus(RedPointType.LegendExplore) CheckRedPointStatus(RedPointType.LegendExplore)

View File

@ -151,8 +151,6 @@ function CreateNamePopup:BindEvent()
PopupTipPanel.ShowTip(Language[10837]) PopupTipPanel.ShowTip(Language[10837])
this:ClosePanel() this:ClosePanel()
end end
-- 发送创建角色事件
CustomEventManager.SendCustomEvents(FBSDKCustomEventType.CreateCharacter)
end end
-- 类型3 为修改名称 类型1 为创建角色 -- 类型3 为修改名称 类型1 为创建角色
@ -183,6 +181,9 @@ function CreateNamePopup:BindEvent()
if this.options then if this.options then
self:ClosePanel() self:ClosePanel()
StoryManager.StoryJumpType(this.options[1], self) StoryManager.StoryJumpType(this.options[1], self)
-- 发送创建角色事件
CustomEventManager.SendCustomEvents(FBSDKCustomEventType.CreateCharacter)
CustomEventManager.SendCustomEvents(FBSDKCustomEventType.RoleLv,1)
end end
end end