新世界任务埋点

This commit is contained in:
liwei1dao 2023-01-05 18:22:21 +08:00
parent b56c672efe
commit b56cc67d63
4 changed files with 8 additions and 4 deletions

View File

@ -550,10 +550,11 @@ const (
Rtype149 TaskType = 149 //熊猫武馆培养英雄n次
Rtype150 TaskType = 150 //美食馆下单n个美食
Rtype151 TaskType = 151 //联盟学院新通关n次
Rtype152 TaskType = 152 //商队交易x次
Rtype153 TaskType = 153 //狩猎副本掉落x个觉醒材料
Rtype154 TaskType = 154 //调整助战英雄n次
Rtype155 TaskType = 155 //完成工会任务n次
Rtype152 TaskType = 152 //熊猫武馆解锁柱子
Rtype153 TaskType = 153 //商队交易x次
Rtype154 TaskType = 154 //狩猎副本掉落x个觉醒材料
Rtype155 TaskType = 155 //调整助战英雄n次
Rtype156 TaskType = 156 //完成工会任务n次
)
const (

View File

@ -52,6 +52,7 @@ func (this *apiComp) Receive(session comm.IUserSession, req *pb.AcademyReceiveRe
}
this.module.DispenseRes(session, level.Award, true)
this.module.ModuleRtask.SendToRtask(session, comm.Rtype151, 1)
}
session.SendMsg(string(this.module.GetType()), "receive", &pb.AcademyReceiveResp{Issucc: true})
return

View File

@ -94,6 +94,7 @@ func (this *apiComp) Practice(session comm.IUserSession, req *pb.MartialhallPrac
this.module.modelMartialhall.Change(session.GetUserId(), map[string]interface{}{
filed: pillar,
})
this.module.ModuleRtask.SendToRtask(session, comm.Rtype149, 1)
session.SendMsg(string(this.module.GetType()), "practice", &pb.MartialhallPracticeResp{Issucc: true, Info: mart})
return
}

View File

@ -84,6 +84,7 @@ func (this *apiComp) UnLock(session comm.IUserSession, req *pb.MartialhallUnLock
this.module.modelMartialhall.Change(session.GetUserId(), map[string]interface{}{
filed: pillar,
})
this.module.ModuleRtask.SendToRtask(session, comm.Rtype152, 1)
session.SendMsg(string(this.module.GetType()), "unlock", &pb.MartialhallUnLockResp{Issucc: true, Info: mart})
return
}