This commit is contained in:
chenxi 2023-06-01 18:15:32 +08:00
parent f7de553771
commit bab3e8218e

View File

@ -330,7 +330,6 @@ function SDKManager:adRewradAd(noReport)
Logger.logHighlight("-------------------") Logger.logHighlight("-------------------")
ModuleManager.TaskManager:addTaskProgress(GConst.TaskConst.TASK_TYPE.X_WATCH_AD) ModuleManager.TaskManager:addTaskProgress(GConst.TaskConst.TASK_TYPE.X_WATCH_AD)
if not noReport then if not noReport then
-- DataManager.PlayerData:addAdCount()
-- BIReport:postAdEvent() -- BIReport:postAdEvent()
end end
end end
@ -372,6 +371,7 @@ function SDKManager:login(callback, loginType)
end end
self.isLogining = true self.isLogining = true
self:_login(function(code, msg) self:_login(function(code, msg)
Logger.log("login finish:%s %s", code, msg)
if code == SDKManager.BF_LOGIN_RESULT.Success then if code == SDKManager.BF_LOGIN_RESULT.Success then
if not msg then if not msg then
self.isLogining = false self.isLogining = false