【优化】数数创建角色时清空登录信息,
parent
14f5a85577
commit
55072e7094
|
|
@ -737,10 +737,10 @@ function this.GetExpertActiveisOpen()
|
|||
return ExperType.LuckyCat
|
||||
end
|
||||
-- 七日
|
||||
local curActiveData = not not ActivityGiftManager.IsActivityTypeOpen(ActivityTypeDef.EightDayGift)
|
||||
if curActiveData then
|
||||
return ExperType.SevenDay
|
||||
end
|
||||
-- local curActiveData = not not ActivityGiftManager.IsActivityTypeOpen(ActivityTypeDef.EightDayGift)
|
||||
-- if curActiveData then
|
||||
-- return ExperType.SevenDay
|
||||
-- end
|
||||
--星级成长礼
|
||||
if OperatingManager.IsHeroGiftActive() then
|
||||
return ExperType.StarGrowGift
|
||||
|
|
|
|||
|
|
@ -41,6 +41,10 @@ function this.Initialize()
|
|||
-- 判断是否是注册并登录
|
||||
if this.isRegister then
|
||||
this.isRegister = false
|
||||
-- 登出之前的账号
|
||||
ThinkingAnalyticsManager.Logout()
|
||||
ThinkingAnalyticsManager.ClearSuperProperties()
|
||||
-- 开始
|
||||
ThinkingAnalyticsManager.SetSuperProperties({
|
||||
account = AppConst.isSDK and tostring(AppConst.OpenId) or "",
|
||||
Bundle_id = AppConst.isSDK and AppConst.SdkPackageName or "",
|
||||
|
|
|
|||
Loading…
Reference in New Issue