完善客户端协议

This commit is contained in:
flswld committed 2023-01-19 19:29:52 +08:00
1 parent a00bee14d0
commit 2983c16272
3254 files changed
+57101 -93258

No files matched your search

+2 -2
View File
@@ -55,14 +55,14 @@ func (h *Handle) QueryPath(userId uint32, gateAppId string, payloadMsg pb.Messag
if !ok {
queryPathRsp := &proto.QueryPathRsp{
QueryId: req.QueryId,
QueryStatus: proto.QueryPathRsp_PATH_STATUS_TYPE_FAIL,
QueryStatus: proto.QueryPathRsp_STATUS_FAIL,
}
h.SendMsg(cmd.QueryPathRsp, userId, gateAppId, queryPathRsp)
return
}
queryPathRsp := &proto.QueryPathRsp{
QueryId: req.QueryId,
QueryStatus: proto.QueryPathRsp_PATH_STATUS_TYPE_SUCC,
QueryStatus: proto.QueryPathRsp_STATUS_SUCC,
Corners: h.ConvMeshVecListToPbVecList(path),
}
h.SendMsg(cmd.QueryPathRsp, userId, gateAppId, queryPathRsp)