修改一下命名

This commit is contained in:
xiekaidong 2023-07-18 17:04:09 +08:00
parent fe73554226
commit c3e62e4bc2
4 changed files with 6 additions and 6 deletions

View File

@ -716,7 +716,7 @@ function BIReport:postFirstRechargeEvent(id)
end end
-- 上报24小时内部分章节第一次失败的用户 -- 上报24小时内部分章节第一次失败的用户
function BIReport:post24GradeFailEvent(chapterId) function BIReport:postFirstDayGradeFailEvent(chapterId)
-- 只有外网正式渠道真机包才上报 -- 只有外网正式渠道真机包才上报
if not Platform:getIsPublishChannel() or EDITOR_MODE then if not Platform:getIsPublishChannel() or EDITOR_MODE then
return return
@ -746,7 +746,7 @@ function BIReport:post24GradeFailEvent(chapterId)
end end
-- 上报24小时内部分英雄升级 -- 上报24小时内部分英雄升级
function BIReport:post24HeroLevel(heroId) function BIReport:postFirstDayHeroLevel(heroId)
-- 只有外网正式渠道真机包才上报 -- 只有外网正式渠道真机包才上报
if not Platform:getIsPublishChannel() or EDITOR_MODE then if not Platform:getIsPublishChannel() or EDITOR_MODE then
return return
@ -779,7 +779,7 @@ function BIReport:post24HeroLevel(heroId)
end end
-- 上报24小时内开宝箱 -- 上报24小时内开宝箱
function BIReport:post24OpenBox(count) function BIReport:postFirstDayOpenBox(count)
-- 只有外网正式渠道真机包才上报 -- 只有外网正式渠道真机包才上报
if not Platform:getIsPublishChannel() or EDITOR_MODE then if not Platform:getIsPublishChannel() or EDITOR_MODE then
return return

View File

@ -169,7 +169,7 @@ function ChapterManager:endFightFinish(result)
if not reqData.win then if not reqData.win then
DataManager.ShopData:markPopLastChapterActGift() DataManager.ShopData:markPopLastChapterActGift()
if DataManager.ChapterData:getChapterFightCount(fightChapterId) == 1 then -- 首次失败上报 if DataManager.ChapterData:getChapterFightCount(fightChapterId) == 1 then -- 首次失败上报
BIReport:post24GradeFailEvent(fightChapterId) BIReport:postFirstDayGradeFailEvent(fightChapterId)
end end
end end

View File

@ -46,7 +46,7 @@ function SummonManager:summonFinish(result)
for t, count in pairs(result.summon_info.count) do for t, count in pairs(result.summon_info.count) do
totalCount = totalCount + count totalCount = totalCount + count
end end
BIReport:post24OpenBox(totalCount) BIReport:postFirstDayOpenBox(totalCount)
end end
end end
end end

View File

@ -149,7 +149,7 @@ function HeroData:setHeroLv(id, lv)
end end
BIReport:postHeroLev(beforeLv, lv) BIReport:postHeroLev(beforeLv, lv)
BIReport:post24HeroLevel(id) BIReport:postFirstDayHeroLevel(id)
end end
function HeroData:getMatchActiveHeroMap() function HeroData:getMatchActiveHeroMap()