积分boss 任务埋点

This commit is contained in:
meixiongfeng 2024-01-29 10:18:15 +08:00
parent 3ffb67314e
commit 33670d3129
2 changed files with 8 additions and 0 deletions

View File

@ -1014,6 +1014,7 @@ const (
Rtype251 TaskType = 251 //在{0}回合内完成狩猎内1key值
Rtype252 TaskType = 252 //完成指定世界任务
Rtype253 TaskType = 253 //退出公会
Rtype254 TaskType = 254 //通关积分BOSS难度{0}
)
const (
MailLineEasy int32 = 1 // 简单

View File

@ -163,5 +163,12 @@ func (this *apiComp) ChallengeOver(session comm.IUserSession, req *pb.IntegralCh
Heroexp: changExp,
})
// 任务埋点
var tasks []*pb.BuriedParam
tasks = append(tasks, comm.GetBuriedParam(comm.Rtype254, req.Nandu))
go this.module.AsynHandleSession(session.Clone(), func(session comm.IUserSession) {
this.module.ModuleBuried.TriggerBuried(session, tasks...)
})
return
}