Merge branch 'dev' of git.juzugame.com:b6-client/b6-lua into dev
This commit is contained in:
commit
f4afa2e96c
@ -135,6 +135,12 @@ function BIReport:clearAccountId()
|
|||||||
end
|
end
|
||||||
|
|
||||||
function BIReport:report(name, args)
|
function BIReport:report(name, args)
|
||||||
|
self:printArgsStr(name, args)
|
||||||
|
-- 内网dev包和编辑器模式不上报
|
||||||
|
if Platform and Platform:getIsDevChannel() or EDITOR_MODE then
|
||||||
|
return
|
||||||
|
end
|
||||||
|
|
||||||
-- 审核模式不上报
|
-- 审核模式不上报
|
||||||
if CS.BF.BFMain.IsShenhe then
|
if CS.BF.BFMain.IsShenhe then
|
||||||
return
|
return
|
||||||
@ -160,17 +166,8 @@ function BIReport:report(name, args)
|
|||||||
args.current_version = CS.BF.BFMain.Instance.GameLaunchMgr:GetCurrentVersion()
|
args.current_version = CS.BF.BFMain.Instance.GameLaunchMgr:GetCurrentVersion()
|
||||||
args.is_new_player = self.isNewPlayer
|
args.is_new_player = self.isNewPlayer
|
||||||
args.device_unique_identifier = CS.UnityEngine.SystemInfo.deviceUniqueIdentifier
|
args.device_unique_identifier = CS.UnityEngine.SystemInfo.deviceUniqueIdentifier
|
||||||
self:printArgsStr(name, args)
|
|
||||||
-- 内网dev包和编辑器模式不上报
|
|
||||||
if Platform and Platform:getIsDevChannel() or EDITOR_MODE then
|
|
||||||
return
|
|
||||||
end
|
|
||||||
CS.BF.BFMain.Instance.SDKMgr.BFThirdReportSDKMgr:PostThinkingAnalyticsEvent(name, json.encode(args))
|
CS.BF.BFMain.Instance.SDKMgr.BFThirdReportSDKMgr:PostThinkingAnalyticsEvent(name, json.encode(args))
|
||||||
else
|
else
|
||||||
-- 内网dev包和编辑器模式不上报
|
|
||||||
if Platform and Platform:getIsDevChannel() or EDITOR_MODE then
|
|
||||||
return
|
|
||||||
end
|
|
||||||
CS.BF.BFMain.Instance.SDKMgr.BFThirdReportSDKMgr:PostThinkingAnalyticsEvent(name)
|
CS.BF.BFMain.Instance.SDKMgr.BFThirdReportSDKMgr:PostThinkingAnalyticsEvent(name)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user