上传世界任务埋点

This commit is contained in:
liwei1dao 2023-01-09 18:13:03 +08:00
parent afe6de1540
commit 0e25bdec75
2 changed files with 4 additions and 0 deletions

View File

@ -559,6 +559,7 @@ const (
Rtype154 TaskType = 154 //狩猎副本掉落x个觉醒材料 Rtype154 TaskType = 154 //狩猎副本掉落x个觉醒材料
Rtype155 TaskType = 155 //调整助战英雄n次 Rtype155 TaskType = 155 //调整助战英雄n次
Rtype156 TaskType = 156 //完成工会任务n次 Rtype156 TaskType = 156 //完成工会任务n次
Rtype157 TaskType = 157 //战斗在xx系统中完成xx事件
) )
const ( const (

View File

@ -218,5 +218,8 @@ func (this *Battle) CheckBattleReport(session comm.IUserSession, report *pb.Batt
) )
} }
this.moonfantasy.Trigger(session, report) this.moonfantasy.Trigger(session, report)
for _, v := range report.Completetask {
this.ModuleRtask.SendToRtask(session, comm.Rtype157, int32(report.Info.Ptype), v)
}
return pb.ErrorCode_Success, true return pb.ErrorCode_Success, true
} }