上报抽卡次数
This commit is contained in:
parent
883d745149
commit
6ce2886143
@ -1754,12 +1754,13 @@ function BIReport:postPbAuthfailed(pbName, lastLoginInfo, authFailToLogin)
|
||||
self:report(EVENT_NAME_NETWORK_OPT, args)
|
||||
end
|
||||
|
||||
function BIReport:postBoxOpen(id, boxType, openType, box_level, rewards)
|
||||
function BIReport:postBoxOpen(id, boxType, openType, box_level, rewards, box_count)
|
||||
local args = {
|
||||
box_type = boxType,
|
||||
open_type = openType,
|
||||
box_item_id = id,
|
||||
box_level = box_level,
|
||||
box_count = box_count,
|
||||
rewards_str = GFunc.getItemRewardsStr(rewards)
|
||||
}
|
||||
self:report(EVENT_BOX_OPEN, args)
|
||||
|
||||
@ -45,7 +45,11 @@ function SummonManager:summonFinish(result)
|
||||
if result.reqData.consume_type ~= 1 then -- 钻石
|
||||
openType = BIReport.BOX_OPEN_OPEN_TYPE.USE_GEM
|
||||
end
|
||||
BIReport:postBoxOpen(summonType, BIReport.BOX_OPEN_BOX_TYPE.SHOP, openType, DataManager.SummonData:getSummonLevel(), result.rewards)
|
||||
local count = 0
|
||||
if result.summon_info and result.summon_info.count[summonType] then
|
||||
count = result.summon_info.count[summonType]
|
||||
end
|
||||
BIReport:postBoxOpen(summonType, BIReport.BOX_OPEN_BOX_TYPE.SHOP, openType, DataManager.SummonData:getSummonLevel(), result.rewards, count)
|
||||
end
|
||||
end
|
||||
if result.summon_info.count then
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user