Merge branch 'master' into dev_20230712

This commit is contained in:
xiekaidong 2023-07-12 09:48:18 +08:00
commit f527141d7b
5 changed files with 12 additions and 8 deletions

View File

@ -487,7 +487,7 @@ function BIReport:postFightBegin(battleType, wave, chapterId, maxChapter, startT
event_type = BIReport.FIGHT_OPT_TYPE.START,
wave_id = wave,
chapter_id = chapterId,
max_chapter = maxChapter,
fight_max_chapter = maxChapter,
start_times = startTimes,
}
args.formation, args.famation_level = DataManager.FormationData:getStageFormationBIStr()
@ -982,7 +982,7 @@ function BIReport:postBountyLevelUp(bountyType, level, exp, season)
local args = {
event_type = BIReport.BOUNTY_OPT_TYPE.BOUNTY_LEVEL_UP,
season = season,
bounty_level_id = level,
level = level,
exp = exp,
bounty_type = bountyType,
}
@ -996,7 +996,7 @@ function BIReport:postBountyReward(bountyType, level, exp, season, rewardLevelId
level = level,
exp = exp,
bounty_type = bountyType,
level_id = rewardLevelId,
bounty_level_id = rewardLevelId,
is_pro = isPro,
}
self:report(EVENT_NAME_BOUNTY_OPT, args)
@ -1006,7 +1006,7 @@ function BIReport:postArenaBountyLevelUp(bountyType, level, exp, season)
local args = {
event_type = BIReport.BOUNTY_OPT_TYPE.ARENA_BOUNTY_LEVEL_UP,
season = season,
bounty_level_id = level,
level = level,
exp = exp,
bounty_type = bountyType,
}
@ -1020,7 +1020,7 @@ function BIReport:postArenaBountyReward(bountyType, level, exp, season, rewardLe
level = level,
exp = exp,
bounty_type = bountyType,
level_id = rewardLevelId,
bounty_level_id = rewardLevelId,
is_pro = isPro,
}
self:report(EVENT_NAME_BOUNTY_OPT, args)

View File

@ -4,7 +4,7 @@ PayManager.PURCHARSE_TYPE = {
ACT_GIFT = 1,
ACT_GOLD_PIG = 2,
CHAPTER_GIFT = 3,
GROW_UP_GIFT = 4,-- 自0.4.0废弃
GROW_UP_GIFT = 4,-- 废弃
MALL_TREASURE = 5,
GROW_UP_GIFT_NEW = 6,
}

View File

@ -519,6 +519,10 @@ if NOT_PUBLISH then
battleController.battleUI:initGridCell()
end
end
if Input.GetKeyDown(KeyCode.LeftArrow) and Input.GetKey(KeyCode.F) then
ModuleManager.LoginManager:reloginOnReconnectRefuse()
end
end
Game._releaseOnApplicationFocus = Game.onApplicationFocus

View File

@ -118,7 +118,7 @@ function ChapterManager:endFightFinish(result)
local newMaxChapter = DataManager.ChapterData:getNewChapterId()
if maxChapter ~= newMaxChapter then
local data = {}
data.max_chapter = newMaxChapter
data.max_chapter = DataManager.ChapterData:getMaxChapterId()
CS.ThinkingAnalytics.ThinkingAnalyticsAPI.UserSet(data)
-- 标记可弹出新手礼包
if maxChapter == 1 then

View File

@ -154,7 +154,7 @@ function LoginManager:loginFinish(data)
DataManager:initWithServerData(data)
local data = {}
data.max_chapter = DataManager.ChapterData:getNewChapterId()
data.max_chapter = DataManager.ChapterData:getMaxChapterId()
data.ads_num = DataManager.PlayerData:getAdCount()
data.pay_money = DataManager.PlayerData:getTotalPayAmount()
data.pay_count = DataManager.PlayerData:getPayCount()