This commit is contained in:
aozhiwei 2022-05-27 12:52:49 +08:00
parent c2911d2f85
commit 00c5c72a0a
2 changed files with 2 additions and 0 deletions

View File

@ -122,6 +122,7 @@ void MatchTeam::_CMMatchChoose(f8::MsgHdr& hdr, const cs::CMMatchChoose& msg)
auto member = GetMemberBySocket(hdr.socket_handle);
if (member && master_team_->phase_ == kMatchChoose) {
member->msg->set_hero_id(msg.hero_id());
member->msg->set_hero_uniid(msg.hero_uniid());
*member->msg->mutable_weapons() = msg.weapons();
*member->msg->mutable_skins() = msg.skins();
*member->msg->mutable_skill_list() = msg.skill_list();

View File

@ -1151,6 +1151,7 @@ message CMMatchChoose
repeated MFPair skill_list = 4; // key:id value:,0
repeated int32 baseskin = 5; //id
optional int32 hero_skin = 6; //
optional string hero_uniid = 7; //id
}
//-