From 4dbb4f49bee6165336b81dde6fb628b1534d0cc3 Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Tue, 22 Mar 2022 20:22:25 +0800 Subject: [PATCH] 1 --- server/gameserver/roommgr.cc | 2 ++ server/tools/protobuild/cs_proto.proto | 2 ++ 2 files changed, 4 insertions(+) diff --git a/server/gameserver/roommgr.cc b/server/gameserver/roommgr.cc index b22e944f..15a0ca00 100644 --- a/server/gameserver/roommgr.cc +++ b/server/gameserver/roommgr.cc @@ -17,6 +17,7 @@ #include "perfmonitor.h" #include "matchmgr.h" #include "matchteam.h" +#include "httpproxy.h" #include "framework/cpp/httpclientpool.h" #include "framework/cpp/utils.h" @@ -790,4 +791,5 @@ void RoomMgr::SendGetBattleData(std::vector>& join_m if (is_old_version) { cb(result); } + } diff --git a/server/tools/protobuild/cs_proto.proto b/server/tools/protobuild/cs_proto.proto index ed387c0a..b2c58f89 100755 --- a/server/tools/protobuild/cs_proto.proto +++ b/server/tools/protobuild/cs_proto.proto @@ -965,6 +965,8 @@ message CMJoin optional int32 show_team_ui = 62; optional int32 hero_skin = 63; //英雄皮肤 optional string pre_battle_payload = 70; //透传api战前校验信息 + + optional string hero_uniid = 71; //英雄唯一id } //断线重连