diff --git a/Assets/ManagedResources/~Lua/Modules/Player/PlayerManager.lua b/Assets/ManagedResources/~Lua/Modules/Player/PlayerManager.lua index 8904c0f5d7..1266eb42ef 100644 --- a/Assets/ManagedResources/~Lua/Modules/Player/PlayerManager.lua +++ b/Assets/ManagedResources/~Lua/Modules/Player/PlayerManager.lua @@ -191,7 +191,9 @@ function this.BcakUpdateUserExp(_msg) -- 打点数据 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.HeroExplore) CheckRedPointStatus(RedPointType.LegendExplore) diff --git a/Assets/ManagedResources/~Lua/Modules/Popup/CreateNamePopup.lua b/Assets/ManagedResources/~Lua/Modules/Popup/CreateNamePopup.lua index 0963d18346..6e4213cb6d 100644 --- a/Assets/ManagedResources/~Lua/Modules/Popup/CreateNamePopup.lua +++ b/Assets/ManagedResources/~Lua/Modules/Popup/CreateNamePopup.lua @@ -151,8 +151,6 @@ function CreateNamePopup:BindEvent() PopupTipPanel.ShowTip(Language[10837]) this:ClosePanel() end - -- 发送创建角色事件 - CustomEventManager.SendCustomEvents(FBSDKCustomEventType.CreateCharacter) end -- 类型3 为修改名称 类型1 为创建角色 @@ -183,6 +181,9 @@ function CreateNamePopup:BindEvent() if this.options then self:ClosePanel() StoryManager.StoryJumpType(this.options[1], self) + -- 发送创建角色事件 + CustomEventManager.SendCustomEvents(FBSDKCustomEventType.CreateCharacter) + CustomEventManager.SendCustomEvents(FBSDKCustomEventType.RoleLv,1) end end