TapDBManager = {} local this = TapDBManager function this.Initialize() if AppConst.isSDK then App.TBDMgr:Init() App.TBDMgr:OnStart() end end function this.SetUser(userId) if AppConst.isSDK then App.TBDMgr:SetUser(userId) end end function this.SetServer(serverId) if AppConst.isSDK then App.TBDMgr:SetServer(serverId) end end function this.SetLevel(level) if AppConst.isSDK then App.TBDMgr:SetLevel(level) end end function this.onChargeSuccess(orderId, goodsId, amount, currencyType, payment) if AppConst.isSDK then App.TBDMgr:onChargeSuccess(orderId, goodsId, amount, currencyType, payment) end end return TapDBManager