From c5703e674cad89f68f953e58d55192d4abcd2a3f Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Thu, 19 Nov 2020 19:25:50 +0800 Subject: [PATCH] 1 --- server/gameserver/human.cc | 1 + server/tools/protobuild/cs_proto.proto | 1 + 2 files changed, 2 insertions(+) diff --git a/server/gameserver/human.cc b/server/gameserver/human.cc index 0321564e..4ef0e083 100644 --- a/server/gameserver/human.cc +++ b/server/gameserver/human.cc @@ -312,6 +312,7 @@ void Human::FillMFPlayerStats(cs::MFPlayerStats* stats_pb) if (guild_id != 0) { stats_pb->set_guild_id(guild_id); } + stats_pb->set_rescue_guild_member(stats.rescue_guild_member); for (auto& pair : stats.items) { auto p = stats_pb->add_items(); diff --git a/server/tools/protobuild/cs_proto.proto b/server/tools/protobuild/cs_proto.proto index 2944ecd2..01a99dad 100755 --- a/server/tools/protobuild/cs_proto.proto +++ b/server/tools/protobuild/cs_proto.proto @@ -615,6 +615,7 @@ message MFPlayerStats optional string account_id = 21; //账号id optional int64 guild_id = 22; //公会id + optional int32 rescue_guild_member = 23; //救起公会成员次数 } //空投