This commit is contained in:
xiekaidong 2023-06-01 18:19:01 +08:00
commit 2adecefa79
2 changed files with 5 additions and 5 deletions

View File

@ -65,9 +65,9 @@ function SDKManager:init()
-- lazy init -- lazy init
local SDKMgr = CS.BF.BFMain.Instance.SDKMgr local SDKMgr = CS.BF.BFMain.Instance.SDKMgr
-- self:initPay() self:initPay()
-- self:initPayListener() self:initPayListener()
-- self:initAdsListener() self:initAdsListener()
-- 拿到firebasetoken -- 拿到firebasetoken
-- self:initFireBaseToken() -- self:initFireBaseToken()
@ -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

View File

@ -21,8 +21,8 @@ function MaincityManager:firstEnterMainCity()
else else
BIReport:postGameLoginFinish() BIReport:postGameLoginFinish()
self:showMainCityUI(true) self:showMainCityUI(true)
-- SDKManager:doUncompletePay()
end end
SDKManager:doUncompletePay()
end end
function MaincityManager:changeMainCityLeftSideBarOpenOrClose() function MaincityManager:changeMainCityLeftSideBarOpenOrClose()