助战英雄埋点
This commit is contained in:
parent
49f6ef637a
commit
e12b37b00d
@ -118,6 +118,12 @@ func (this *Battle) CreatePveBattle(session comm.IUserSession, req *pb.BattlePVE
|
|||||||
if req.Format.Friendformat != nil && len(req.Format.Friendformat) != 5 {
|
if req.Format.Friendformat != nil && len(req.Format.Friendformat) != 5 {
|
||||||
code = pb.ErrorCode_ReqParameterError
|
code = pb.ErrorCode_ReqParameterError
|
||||||
}
|
}
|
||||||
|
for _, v := range req.Format.Friendformat {
|
||||||
|
if v != "" {
|
||||||
|
this.ModuleRtask.SendToRtask(session, comm.Rtype108, 1)
|
||||||
|
break
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if record, code = this.modelBattle.createpve(session, conn, pb.BattleType_pve, req); code != pb.ErrorCode_Success {
|
if record, code = this.modelBattle.createpve(session, conn, pb.BattleType_pve, req); code != pb.ErrorCode_Success {
|
||||||
return
|
return
|
||||||
|
Loading…
Reference in New Issue
Block a user