积分埋点

This commit is contained in:
meixiongfeng 2024-01-29 10:50:57 +08:00
parent 33670d3129
commit c9f2b8e36c
2 changed files with 5 additions and 1 deletions

View File

@ -1015,6 +1015,8 @@ const (
Rtype252 TaskType = 252 //完成指定世界任务
Rtype253 TaskType = 253 //退出公会
Rtype254 TaskType = 254 //通关积分BOSS难度{0}
Rtype255 TaskType = 255 //积分BOSS进行{0}场战斗
Rtype256 TaskType = 256 //积分BOSS{0}难度获得{1}及以上评级
)
const (
MailLineEasy int32 = 1 // 简单

View File

@ -165,7 +165,9 @@ func (this *apiComp) ChallengeOver(session comm.IUserSession, req *pb.IntegralCh
// 任务埋点
var tasks []*pb.BuriedParam
tasks = append(tasks, comm.GetBuriedParam(comm.Rtype254, req.Nandu))
tasks = append(tasks, comm.GetBuriedParam(comm.Rtype254, 1, req.Nandu))
tasks = append(tasks, comm.GetBuriedParam(comm.Rtype255, 1))
tasks = append(tasks, comm.GetBuriedParam(comm.Rtype256, req.Nandu, req.Report.Grade))
go this.module.AsynHandleSession(session.Clone(), func(session comm.IUserSession) {
this.module.ModuleBuried.TriggerBuried(session, tasks...)