删除不用的
This commit is contained in:
parent
01522e6e0c
commit
e421a044c2
@ -349,11 +349,7 @@ end
|
||||
|
||||
-- 游戏退出
|
||||
function BIReport:postGameExit()
|
||||
local nowTime = Time:getServerTime()
|
||||
local args = {}
|
||||
-- if DataManager then
|
||||
-- args.duration = nowTime - DataManager:getLoginTime()
|
||||
-- end
|
||||
self:report(EVENT_NAME_EXIT, args)
|
||||
end
|
||||
|
||||
|
||||
@ -142,12 +142,6 @@ function DataManager:initWithServerData(data)
|
||||
self:checkDataBind()
|
||||
end
|
||||
|
||||
function DataManager:onServerTimeBack(serverTime, loginCount, loginTime)
|
||||
self.loginCount = loginCount or 1
|
||||
self.loginTime = loginTime or Time:getServerTime()
|
||||
self:scheduleGlobal()
|
||||
end
|
||||
|
||||
-- 是否首次登录
|
||||
function DataManager:getIsFirstLogin()
|
||||
local nowTime = Time:getServerTime()
|
||||
@ -165,10 +159,6 @@ function DataManager:getIsInitWithServer()
|
||||
return self.initWithServer
|
||||
end
|
||||
|
||||
function DataManager:getLoginTime()
|
||||
return self.loginTime or 0
|
||||
end
|
||||
|
||||
function DataManager:registerDataCd(dataName)
|
||||
if not dataName then
|
||||
return
|
||||
@ -258,11 +248,6 @@ function DataManager:scheduleGlobal()
|
||||
end, 1)
|
||||
end
|
||||
|
||||
-- 获取登录天数
|
||||
function DataManager:getLoginCount()
|
||||
return self.loginCount or 1
|
||||
end
|
||||
|
||||
function DataManager:getSignInfo()
|
||||
local nowTime = Time:getServerTime()
|
||||
local lastSignTime = self.signInfo.latest_at // 1000
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user